You are on page 1of 4

---------------ADDRESS BOOK in ASP.NET...........................

Register.aspx
-----------------------

<body>
<form id="form1" runat="server">
<div>
<table cellpadding="0" cellspacing="0" width="90%" border="0" align=center>
<tr><td>
<table cellpadding="0" cellspacing="0" width="80%" align="center"
border="4" background=BackGround.jpg>
<tr>
<td align="center">
<asp:Label ID="lblWelcome" Text="Welcome On Line Address Book" runat="server"
Font-Bold="true" Font-Size="14pt" ForeColor="black">
</asp:Label>
</td></tr>
<tr><td><marquee bgcolor="#ff9900" behavior="alternate">
<asp:Label ID="lblInformationfill" runat="server" Text="Please Fill The
Information"
ForeColor="#0000ff" Font-Bold="true"> </asp:Label> </marquee>
</td></tr>
<tr><td>
<asp:Label ID="lblRecordAdded" runat="server" Visible="false" ForeColor="Red">
</asp:Label>
</td> </tr>
<tr><td> &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<asp:Label ID="lbltitle" runat="server" Text="Select Title" Width="100" Font-
Bold="true">
</asp:Label>
<asp:DropDownList ID="listTitle" runat="server">
<asp:ListItem Value="Select">--Select--</asp:ListItem>
<asp:ListItem Value="Mr">Mr</asp:ListItem>
<asp:ListItem Value="Ms">Ms</asp:ListItem>
</asp:DropDownList>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;
</td></tr>
<tr><td align="center" style="height: 233px">
<table cellpadding="0" cellspacing="0" width="80%" border="0">
<tr><td align="center">
<table>
<tr><td><marquee> <asp:Label ID="lblPersonnelInformation" runat="server"
Text="Personnel Information" Font-Bold="True" ForeColor= "DarkRed" >
</asp:Label> </marquee>
</td></tr>
<tr>
<td align="left">
<asp:Label ID="lblFirstNmae" Text="First Name" runat="server" Width="100px"
ForeColor="DarkRed"> </asp:Label>
<asp:TextBox ID="txtFirstName" runat="server"> </asp:TextBox>
</td>
</tr>
<tr>
<td align="left">
<asp:Label ID="lblMiddleName" Text="Middle Name" runat="server" Width="100px"
ForeColor="DarkRed">
</asp:Label>
<asp:TextBox ID="txtMiddleName" runat="server"></asp:TextBox>
</td>
</tr>

<tr>
<td align="left">
<asp:Label ID="lblLastName" Text="Last Name" runat="server" Width="100px"
ForeColor="DarkRed">
</asp:Label>
<asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
</td></tr>
<tr><td align="left">
<asp:Label ID="lblHomePhone" Text="Home Phone" runat="server" Width="100px"
ForeColor="DarkRed">
</asp:Label>
<asp:TextBox ID="txtHomePhone" runat="server"></asp:TextBox>
</td></tr>

<tr><td align="left">
<asp:Label ID="lblMobile" Text="Mobile" runat="server" Width="100px"
ForeColor="DarkRed"> </asp:Label>
<asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
</td></tr>
<tr><td align="left">
<asp:Label ID="lblPersonelEmail" Text="Email" runat="server" Width="100px"
ForeColor="DarkRed"> </asp:Label>
<asp:TextBox ID="txtPersonnelEmail" runat="server"></asp:TextBox>
</td></tr>

</table>
</td>

<td>
<table>
<tr><td><marquee>
<asp:Label ID="lblOfficeInformation" runat="server" Text="Official Information"

Font-Bold="True" ForeColor="Chocolate">
</asp:Label>
</marquee> </td> </tr>

<tr><td align="left"><asp:Label ID="lblCompany" Text="Company" runat="server"


Width="100px"
ForeColor="Chocolate"> </asp:Label>
<asp:TextBox ID="txtCompany" runat="server"></asp:TextBox>
</td></tr>

<tr><td align="left">
<asp:Label ID="lblJobTitle" Text="Job Title" runat="server" Width="100px"
ForeColor="Chocolate">
</asp:Label>
<asp:TextBox ID="txtJobTitle" runat="server"></asp:TextBox>
</td></tr>
<tr><td align="left">
<asp:Label ID="lblWebSite"
Text="Web Site"
runat="server"
Width="100px"
ForeColor="Chocolate">
</asp:Label>

<asp:TextBox ID="txtWebSite" runat="server"></asp:TextBox>


</td></tr>

<tr><td align="left">
<asp:Label ID="lblOfficePhone"
Text="OfficePhone" runat="server"
Width="100px" ForeColor="Chocolate">
</asp:Label>

<asp:TextBox ID="txtOfficePhone" runat="server"></asp:TextBox>


</td></tr>
<tr><td align="left">
<asp:Label ID="lblFax"
Text="Fax" runat="server" Width="100px"
ForeColor="Chocolate">
</asp:Label>

<asp:TextBox ID="txtFax" runat="server"></asp:TextBox>


</td></tr>

<tr><td align="left">
<asp:Label ID="lblOfficeEmail"
Text="Office Email" runat="server"
Width="100px" ForeColor="Chocolate">
</asp:Label>

<asp:TextBox ID="txtOfficeEmail" runat="server"></asp:TextBox>

</td></tr>

</table></td>
</tr>
</table></td></tr>

<tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<asp:Label ID="lblAddress" runat="server" Text="Address" ForeColor="AliceBlue">
</asp:Label> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine"> </asp:TextBox>


</td></tr>
<tr><td align="center" style="height: 52px">
<asp:Button ID="btnSubmitRecord"
runat="server" Text="Submit"
Height="40px" OnClick="btnSubmit_Click" Width="200px"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;


<asp:ImageButton ID="ImageMain" runat="server" ImageUrl="~/5ar04a.gif"
OnClick="Main_Click"
ToolTip="Click Here To Go On All Record"/>
</td></tr>
</table>
</td></tr>
</table>
</div>
</form>
</body>

You might also like