您的位置:首页 > 其它

遍历Repeater中某个控件并修改控件属性

2009-06-25 09:57 260 查看
foreach (Control c in this.rptList.Controls)
{
Label lbEd = (Label)c.FindControl("lbEd");
lbEd.Visible = true;
}

遍历Repeater中的Lable,设置是否显示
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: