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

mac2022-06-30  85

foreach (Control c in this.rptList.Controls){      Label lbEd = (Label)c.FindControl("lbEd");      lbEd.Visible = true;}

 

遍历Repeater中的Lable,设置是否显示

转载于:https://www.cnblogs.com/mahongbo/archive/2009/06/25/1510696.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)