ASP 5 selesai .
Seperti biasa awalnya buka VS 12 ,
Tulis Script nya :
Scriptnya seperti ini :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InputBiodata.aspx.cs" Inherits="PraktikumASP5.InputBiodata" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="1">
<tr>
<td rowspan="8"><img src="1.jpg" width="300" height="300" /></td>
<td colspan="5">
<center><b><font size="5" color="blue"> Inputan Biodata </font> </b></center>
</td>
</tr>
<tr>
<td><b>Nama Lengkap</b></td>
<td><b>:</b></td>
<td>
<asp:TextBox ID="txtNama" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td><b>Jenis Kelamin</b></td>
<td><b>:</b></td>
<td>
<input id="RadioL" type="radio" name="gender" value="Laki-Laki" />Laki Laki
<input id="radioP" type="radio" name="gender" value="Perempuan" />Perempuan
</td>
</tr>
<tr>
<td><b>Email</b></td>
<td><b>:</b></td>
<td>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td><b>Password</b></td>
<td><b>:</b></td>
<td>
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td><b>Alamat</b></td>
<td><b>:</b></td>
<td>
<asp:TextBox ID="TxtAlamat" runat="server" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>
<tr>
<td><b>Cita Cita</b></td>
<td><b>:</b></td>
<td>
<input id="RadioC" type="radio" name="cita" value="Enterpreneure" />Pengusaha
<input id="RadioD" type="radio" name="cita" value="Programmer" />Programmer
</td>
</tr>
<tr>
<td colspan="3">
<center> <asp:Button ID="btnSubmit" runat="server" Text="Submit" PostBackUrl="~/InputBiodataResult.aspx" OnClick="btnSubmit_Click" /></center>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Dan Hasilnya :
TERIMA KASIH :D
Tidak ada komentar:
Posting Komentar