Hi,
I have 5 separate placeholders within a web form. Each contain varying
amounts of textboxes and labels that were dynamically created and added.
When retrieving the various textbox id's and text values I use a
for..next loop to step through:
For a =..
CType(plcAttend ance2.Controls( a), TextBox).ID
CType(plcAttend ance2.Controls( a), TextBox).Text
Next
Could someone pls show me how I can dynamically refer to each
placeholder? Something like..
For b = 1 to 5
For a = ...
CType(plcAttend ance[b].Controls(a), TextBox).ID
CType(plcAttend ance[b].Controls(a), TextBox).Text
Next
Next
??
This would save me a lot of time with coding!
Any help much appreciated..
*** Sent via Developersdex http://www.developersdex.com ***
I have 5 separate placeholders within a web form. Each contain varying
amounts of textboxes and labels that were dynamically created and added.
When retrieving the various textbox id's and text values I use a
for..next loop to step through:
For a =..
CType(plcAttend ance2.Controls( a), TextBox).ID
CType(plcAttend ance2.Controls( a), TextBox).Text
Next
Could someone pls show me how I can dynamically refer to each
placeholder? Something like..
For b = 1 to 5
For a = ...
CType(plcAttend ance[b].Controls(a), TextBox).ID
CType(plcAttend ance[b].Controls(a), TextBox).Text
Next
Next
??
This would save me a lot of time with coding!
Any help much appreciated..
*** Sent via Developersdex http://www.developersdex.com ***
Comment