Friday 5 April 2013

dotnet From


<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Form_Validation.aspx.cs" Inherits="_Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
<fieldset>
<legend>User Information</legend>
<table>
    <tr>
        <td>Enter FirstName:</td>
        <td>
            <asp:TextBox ID="txtfname" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Enter Last Name:</td>
        <td>
            <asp:TextBox ID="txtlname" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Date of Birth:</td>
        <td>
            <asp:DropDownList ID="ddlday" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlmonth" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlyear" runat="server">
            </asp:DropDownList>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Email id:</td>
        <td>
            <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Mobile Number:</td>
        <td>
            <asp:TextBox ID="txtmobile" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Gender:</td>
        <td>
            <asp:RadioButtonList ID="rblgender" runat="server">
            </asp:RadioButtonList>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Address:</td>
        <td>
            <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>City:</td>
        <td>
            <asp:DropDownList ID="ddlcity" runat="server">
            </asp:DropDownList>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>Pincode:</td>
        <td>
            <asp:TextBox ID="txtpincode" runat="server"></asp:TextBox>
        </td>
        <td></td>
    </tr>
   
    <tr>
        <td>State:</td>
        <td>
            <asp:DropDownList ID="ddlstate" runat="server">
            </asp:DropDownList>
        </td>
        <td></td>
    </tr>
   
     <tr>
        <td>Country:</td>
        <td>
            <asp:DropDownList ID="ddlcountry" runat="server">
            </asp:DropDownList>
         </td>
        <td></td>
    </tr>
   
     <tr>
        <td>Hobbies:</td>
        <td>
            <asp:CheckBoxList ID="cblhobbies" runat="server">
            </asp:CheckBoxList>
         </td>
        <td></td>
    </tr>
   
     <tr>
        <td>Qualification:</td>
        <td>
            <asp:CheckBoxList ID="cblquali" runat="server">
            </asp:CheckBoxList>
         </td>
        <td></td>
    </tr>
   
     <tr>
        <td>Courses Applied For:</td>
        <td>
            <asp:RadioButtonList ID="rblcourses" runat="server">
            </asp:RadioButtonList>
         </td>
        <td></td>
    </tr>
   
   
     <tr>
        <td>
            <asp:Button ID="btnsubmit" runat="server" Text="Submit" />
         </td>
        <td>
            <asp:Button ID="btnreset" runat="server" Text="Reset" />
         </td>
        <td></td>
    </tr>
   
     <tr>
        <td></td>
        <td></td>
        <td></td>
    </tr>
   
     <tr>
        <td></td>
        <td></td>
        <td></td>
    </tr>
   
</table>
</fieldset>
</div>
</asp:Content>

No comments:

Post a Comment