foreach (Control c in this.form1.Controls)
{
if (c.GetType() == typeof(TextBox))
{
TextBox t = (TextBox)c;
t.ReadOnly = false;
}
}
asp.net遍历TextBox控件
最新推荐文章于 2019-01-17 11:24:00 发布