Check Boxes in asp.net

 For Example: Write a program to demonstrate the use of check box

<html>

<head runat="server">

    <title> Aryan Computers, Barshi </title>

</head>

<body>

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

    <div style="margin-left: 40px">

    

        <asp:Label ID="Label1" runat="server" 

            style="font-weight: 700; text-decoration: underline; font-size: x-large" 

            Text="Select Subject:"></asp:Label>

        .<br />

        <br />

        <asp:CheckBox ID="CheckBox1" runat="server" Text="Core Java" />

        <br />

        <br />

        <asp:CheckBox ID="CheckBox2" runat="server" Text="C# Programming" />

        <br />

        <br />

        <asp:CheckBox ID="CheckBox3" runat="server" Text="ASP.NET Programming" />

        <br />

        <br />

        <asp:CheckBox ID="CheckBox4" runat="server" 

            Text="Data Warehousing and Data Mining" />

        <br />

        <br />

        <asp:CheckBox ID="CheckBox5" runat="server" Text="Linux" />

        <br />

        <br />

        <asp:Button ID="Button1" runat="server" Font-Bold="True" Font-Size="X-Large" 

            ForeColor="#CC0000" Text="Submit" Width="135px" />

        <br />

    

    </div>

    </form>

</body>

</html>

Output:


Comments

Popular posts from this blog

simple program C#

Regular Expression Validator Control in asp.net

two dimension array in C#