Design the Form as Follows
Design Code
<div>
<table>
<tr>
<td> Area </td>
<td> <asp:TextBox ID="txtArea" runat="server"></asp:TextBox> </td>
</tr>
<tr>
<td> City </td>
<td> <asp:TextBox ID="txtCity" runat="server"></asp:TextBox> </td>
</tr>
<tr>
<td> <asp:Button ID="Button1" runat="server" Text="Search" OnClick="ButtonSearch_Click"/> </td>
</tr>
</table>
</div>
.cs Page
output
Design Code
<div>
<table>
<tr>
<td> Area </td>
<td> <asp:TextBox ID="txtArea" runat="server"></asp:TextBox> </td>
</tr>
<tr>
<td> City </td>
<td> <asp:TextBox ID="txtCity" runat="server"></asp:TextBox> </td>
</tr>
<tr>
<td> <asp:Button ID="Button1" runat="server" Text="Search" OnClick="ButtonSearch_Click"/> </td>
</tr>
</table>
</div>
.cs Page
output
No comments:
Post a Comment
Thank you for visiting my blog