62,268
社区成员
发帖
与我相关
我的任务
分享
protected void Button1_Click(object sender, EventArgs e)
{
string slable = TB02.Text.Trim();
for (int i = 1; i <= 21; i++)
{
TextBox txt = (TextBox)(this.FindControl("TBla" + i));
string strTs = txt.Text;
}
}
For Each c As Control In hh.Controls
If c.GetType.ToString.Equals("System.Web.UI.WebControls.TextBox") Then
If CType(c, TextBox).Text.Length < 5 Then
CType(c, TextBox).Text = hhstr(i)
Exit For
End If
End If
Next