设置变量,将RadioButtonList选中的值赋给它,变量=this.RadioButtonList1.SelectedItem.Text.Trim()
RadioButtonList rbtn=e.item.findcontrol("单选框的ID") as RadioButtonList
这样试试
repeater进行循环判断
string val;foreach(RepeaterItem ri in Repeater1.Items)
{
RadioButtonList rb=ri.FindControl("RadioButtonList1") as RadioButtonList;
if(rb!=null)
{val=rb.SelectedValue;}
}