ListControls

ListControls -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
<%@ Page Title="List Controls Demo" Language="C#" AutoEventWireup="true" CodeFile="ListControls.aspx.cs" Inherits="Demos_ListControls" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" runat="server"> <asp:ListItem>C#</asp:ListItem> <asp:ListItem>Visual Basic</asp:ListItem>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &lt;asp:ListItem&gt;CSS&lt;/asp:ListItem&gt; &lt;/asp:DropDownList&gt; &lt;asp:CheckBoxList ID=&quot;CheckBoxList1&quot; runat=&quot;server&quot;&gt; &lt;asp:ListItem&gt;C#&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Visual Basic&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;CSS&lt;/asp:ListItem&gt; &lt;/asp:CheckBoxList&gt; &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; OnClick=&quot;Button1_Click&quot; Text=&quot;Button&quot; / &gt; &lt;br /&gt; &lt;br /&gt; &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt;...
View Full Document

Ask a homework question - tutors are online