62,046
社区成员
发帖
与我相关
我的任务
分享
for (int j = 0; j < this.Controls.Count; j++)
{
foreach (object o in Page.Controls[j].Controls)
{
if (o is TextBox)
{....}
foreach (Control c in this.Controls)
{
if (c.GetType() == typeof(TextBox)) ...
}