摘要: 遍历所有控件s1 protected void approval()2 {3 foreach (Control control in this.Page.Controls)4 {5 SetReadOnly(control);6 }7 } 1 //将单个控件包含子集变为只读 2 protected void SetReadOnly(Control ctrl) 3 { 4 if (!ctrl.HasControls()) 5 {... 阅读全文
posted @ 2012-03-12 11:19 muddy-bear 阅读(358) 评论(0) 推荐(0) 编辑