遍历Repeater中某个控件并修改控件属性
foreach (Control c in this.rptList.Controls)
{
Label lbEd = (Label)c.FindControl("lbEd");
lbEd.Visible = true;
}
遍历Repeater中的Lable,设置是否显示
foreach (Control c in this.rptList.Controls)
{
Label lbEd = (Label)c.FindControl("lbEd");
lbEd.Visible = true;
}
遍历Repeater中的Lable,设置是否显示