Sponsored Ad

Wednesday, March 23, 2011

How to Design Database From Web Form Using Asp.Net

Create a web Form like:

Untitled

Default aspx:

<body>

<form id="form1" runat="server">

<div>

<table>

<tr>

<td style="width: 100px">

<asp:Label ID="Label1" runat="server" Text="Id"></asp:Label></td>

<td style="width: 100px">

<asp:TextBox ID="txtID" runat="server"></asp:TextBox></td>

</tr>

<tr>

<td style="width: 100px">

<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label></td>

<td style="width: 100px">

<asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>

</tr>

<tr>

<td style="width: 100px">

<asp:Label ID="Label3" runat="server" Text="Designation"></asp:Label></td>

<td style="width: 100px">

<asp:TextBox ID="txtDesignation" runat="server"></asp:TextBox></td>

</tr>

<tr>

<td style="width: 100px">

<asp:Label ID="Label4" runat="server" Text="Location"></asp:Label></td>

<td style="width: 100px">

<asp:TextBox ID="txtLocation" runat="server"></asp:TextBox></td>

</tr>

<tr>

<td style="width: 100px">

</td>

<td style="width: 100px">

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

&nbsp; &nbsp;

<asp:Button ID="Button1" runat="server" Text="Save" /></td>

</tr>

</table>

</div>

</form>

</body>

No comments:

Post a Comment

Related Software Testing Articles



Website List