<%@ Import Namespace="System.Data" %>
<html>
<body style="background-color='beige'; font-family='verdana'; font-size='10pt'">

<h3><font face="Verdana"> Web 内部控件</font></h3>

<form runat="server">

文本框:<asp:TextBox id="Text1" runat="server"/>
密码 :<asp:TextBox id="Text2" TextMode="Password" runat="server"/>
多行文本框: <asp:TextBox id="Text3" TextMode="Multiline" rows="4" runat="server"/>
<hr>
<B>复选框</B><br>
<asp:CheckBox runat="server" Text="复选框1" Checked="True"></asp:CheckBox><br>

<B>单选按钮</B><br>
<asp:RadioButton runat="server" Text="单选按钮1" GroupName="Group1" Checked="true">
</asp:RadioButton>
<asp:RadioButton runat="server" Text="单选按钮2" GroupName="Group1"></asp:RadioButton>
<hr>
<B>复选框组</B><br>

<asp:CheckBoxList runat="server">
<asp:ListItem Text="选项1" Value="1" selected="true"/>
<asp:ListItem Text="选项2" Value="2" selected="true"/>
</asp:CheckBoxList >

<B>单选按钮组</B>
<asp:RadioButtonList runat="server" RepeatDirection= "horizontal">
<asp:ListItem Text="选项1" Value="1" selected="true"/>
<asp:ListItem Text="选项2" Value="2"/>
</asp:RadioButtonList >
<hr>
<B>下拉列表</B>
<asp:DropDownList runat="server">
<asp:ListItem Text="选择1" Value="1" selected="true"/>
<asp:ListItem Text="选择2" Value="2"/>
</asp:DropDownList>
<B>列表框</B>
<asp:ListBox runat="server" SelectionMode="Multiple">
<asp:ListItem Text="选择1" Value="1" selected="true"/>
<asp:ListItem Text="选择2" Value="2"/>
</asp:ListBox>

<hr>


按钮 :<asp:Button runat="server" Text="Click Me"></asp:Button><br><br>

链接按钮 :<asp:LinkButton runat="server" Text="点击"></asp:linkButton><br><br>
图像按钮: <asp:ImageButton runat="server" ImageUrl="gifcon.gif"></asp:ImageButton><br><br>

超链接 : <asp:HyperLink runat="server" Text="超链接" NavigateUrl="web_intrensic.aspx"></asp:HyperLink><br><br>
图像 :<asp:Image runat="server" ImageUrl="gifcon.gif"></asp:Image>
<br>
<asp:Panel runat="server"></asp:Panel>
<hr>
<B>表</B>
<asp:Table runat="server" GridLines="Both" BorderWidth="1px">
<asp:TableRow>
<asp:TableCell>第1列</asp:TableCell>
<asp:TableCell>第2列</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>第3列</asp:TableCell>
<asp:TableCell>第4列</asp:TableCell>
</asp:TableRow>
</asp:Table>


</form>

</body>
</html>

