js 父页中的单选按钮取值
程序员文章站
2022-05-22 13:50:27
int starvalue = 3; contentplaceholder ch = (contentplaceholder)master.findcontrol("mid...
int starvalue = 3;
contentplaceholder ch = (contentplaceholder)master.findcontrol("middlecontent");
radiobutton radio = new radiobutton();
for (int i = 1; i <= 5;i++ )
{
radio = (radiobutton)ch.findcontrol("rblstar" + i);
if (radio.checked == true)
{
starvalue = i;
break;
}
}
messagebox.show(starvalue.tostring());
contentplaceholder ch = (contentplaceholder)master.findcontrol("middlecontent");
radiobutton radio = new radiobutton();
for (int i = 1; i <= 5;i++ )
{
radio = (radiobutton)ch.findcontrol("rblstar" + i);
if (radio.checked == true)
{
starvalue = i;
break;
}
}
messagebox.show(starvalue.tostring());
上一篇: 大数据时代 58同城渠道发展渐入佳境
下一篇: 2013:企业增加大数据整合营销服务