RadioButtonList

RadioButtonList

<asp:Label ID="txt_Gender" runat="server" Text="性别"></asp:Label>
请选择性别:<asp:RadioButtonList
ID="radlSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
<asp:ListItem Selected="True">男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:RadioButtonList>
获取值
通过select一系列

posted @ 2018-08-06 22:10  ZaraNet  阅读(232)  评论(0编辑  收藏  举报