<asp:RadioButton id="rad1" runat="server" GroupName="rad" Text="1"></asp:RadioButton>
<asp:RadioButton id="rad2" runat="server"  GroupName="rad" Text="2"></asp:RadioButton>
<asp:RadioButton id="rad3" runat="server"  GroupName="rad" Text="2"></asp:RadioButton>
我用RadioButton 控件 并归成一数组 GroupName="rad"
后台怎么得到 这控件数组 GroupName="rad" 的值如通用HtmlControls控件 radio数组控件
<input id="SPXZ1" type="radio" CHECKED value="1" name="SPXZ">
<input id="SPXZ2" type="radio" value="2" name="SPXZ">
我后台用Request["SPXZ"] 这个就可以得到radio控件数组 的值了
input id="SPXZ1" 被选 Request["SPXZ"]=1
input id="SPXZ2" 被选 Request["SPXZ"]=2顺便问一句aspx怎么清空Session