62,268
社区成员
发帖
与我相关
我的任务
分享
<form id="form2" action="Default2.aspx" method="get" runat="server">
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
<asp:ListItem Text="广州" Value="1"></asp:ListItem>
<asp:ListItem Text="云浮" Value="2"></asp:ListItem>
<asp:ListItem Text="深圳" Value="3"></asp:ListItem>
</asp:RadioButtonList>
<input id="Submit1" type="submit" value="submit" />
</form>
protected void Button1_Click(object sender, EventArgs e)
{
int s = int.Parse(Request["RadioButtonList1"]);
}