62,041
社区成员
发帖
与我相关
我的任务
分享
protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
{
foreach (RepeaterItem item in Repeater1.Items)
{
RadioButtonList RadioButtonList1 = item.FindControl("RadioButtonList1") as RadioButtonList;
foreach (ListItem l in RadioButtonList1.Items)
{
if (l.Selected == true)
{
Response.Write(l.Text + "<br>" + l.Value);
}
}
}
}