方式1:

种方式遍历repeater中的CheckBox全选foreach (Control c in this.Repeater1.Controls)

方式2:

种方式遍历repeater中的CheckBox全选for (int i=0;i<this.Repeater1.Items.Count;i++)

方式3:

种方式遍历repeater中的CheckBox全选foreach( RepeaterItem item in this.Repeater1.Items )

相关文章: