程晓晖

博客园 首页 新随笔 联系 订阅 管理

2011年1月21日 #

摘要: foreach (Control control in this.Controls[0].Controls) { if (control is HtmlForm) { foreach (Control con in control.Controls) { if (con is ContentPlaceHolder) { foreach (Control ctrl in con.Controls) { string id = ctrl.UniqueID; if (ctrl is Label) { this.TextBox1.Text = "abc"; } } } } } } 阅读全文
posted @ 2011-01-21 13:56 fumen 阅读(184) 评论(0) 推荐(0) 编辑