摘要:獲取CheckBoxlist 與 RadioButtonList 選取值
string sResult = "";
foreach (ListItem li in RadioButtonList1.Items)
{
if (li.Selected == true)
{
sResult = sResult + li.Value + ",";
}
}
Label1.Text = sResult;
紅色的地方 換成 CHECKBOX元件ID就可以了