62,271
社区成员
发帖
与我相关
我的任务
分享
for(i=0;i<Repeater.Items.count;i++)
{
for(j=0;j<Repeater.Items.count;j++)
{
LinkButton lnk = Repeater.Items[j].FindControl("lnkName") as LinkButton;
CheckBox c = Repeater.Items[j].FindControl("ckbox") as CheckBox;
if (c.Checked)
{
//代码
}
}
}
for(i=0;i<Repeater.Items.count;i++)
{
for(j=0;j<Repeater.Items.count;j++)
{
LinkButton lnk = Repeater.Items[j].FindControl("lnkName") as Labelas LinkButton;
CheckBox c = Repeater2.Items[j].FindControl("ckbox") as Labelas CheckBox;
if (c.Checked)
{
//代码
}
}
}