控件数组问题 Dim lbl As TextBox
Dim obj As Object
For iCount As Integer = 1 To 50
obj = FindControl("TextBox" & iCount.ToString)
If Not IsNothing(obj) Then
lbl = CType(obj, TextBox)
lbl.Text = iCount.ToString
End If
Next
Dim obj As Object
For iCount As Integer = 1 To 50
obj = FindControl("TextBox" & iCount.ToString)
If Not IsNothing(obj) Then
lbl = CType(obj, TextBox)
lbl.Text = iCount.ToString
End If
Next
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货