我想把页面上的所有TextBox设为空,就这样
For Each tb As Object In Me.Controls
If tb.GetType() Is GetType(TextBox) Then
CType(tb, TextBox).Text = ""
End If
Next可是这么写不成功....
For Each tb As Object In Me.Controls
If tb.GetType() Is GetType(TextBox) Then
CType(tb, TextBox).Text = ""
End If
Next可是这么写不成功....
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货