像文本框string ID = this.txtID.Text.Trim();这样
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="400px" >
<asp:ListItem Value="1">第一</asp:ListItem>
<asp:ListItem Value="2">第二</asp:ListItem>
</asp:RadioButtonList>
刚发的有问题,看这个
RepeatDirection="Horizontal"
RepeatLayout="Flow">
/asp:RadioButtonList
后端获取直接
radioID.SelectedValue
http://blog.csdn.net/liyifei21/article/details/6743579
RepeatDirection="Horizontal"
RepeatLayout="Flow">
/asp:RadioButtonList
后端获取直接
rdbPT_SJFAIsPass.SelectedValue
(⊙o⊙)…无语怎么会有部分看不到了呢,看最后两行吧,相信以你的IQ能看懂的,哈哈
string value=RadioButtonList1.SelectedValue ;
可以取得你选择的选项