textboxes in a webform

Soemthing like this...
dim c as control

for each c in me.controls ' or iterate a container such as a Panel
if typeof c is texbox
directcast(c,textbox).text
' (gain access to one of it's properties here, TEXT is just one example)
' or do something else here
end if
next
 
I need a way to get all textboxes no matter in which container they are, they might be in a panel or a table, or directly on the page........
 
Back
Top