Dim c As Object
For Each c In Page.Controls
'TextBox
If (c.GetType().ToString().Eq
Dim tb As TextBox = CType(c, TextBox)
Response.Write("Valore (TextBox): " + tb.Text)
End If
Next
Main Topics
Browse All Topics





by: Arthur_WoodPosted on 2005-02-26 at 06:13:58ID: 13410386
For Each ctrl as Control in Me.Controls
If TypeOf ctrl is TextBox then
If ctrl.Text = "" then
' do something
End If
End If
Next
AW