J
John Mason
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(plcAttendance2.Controls(a), TextBox).ID
CType(plcAttendance2.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(plcAttendance.Controls(a), TextBox).ID
CType(plcAttendance.Controls(a), TextBox).Text
Next
Next
??
This would save me a lot of time with coding!
Any help much appreciated..
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(plcAttendance2.Controls(a), TextBox).ID
CType(plcAttendance2.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(plcAttendance.Controls(a), TextBox).ID
CType(plcAttendance.Controls(a), TextBox).Text
Next
Next
??
This would save me a lot of time with coding!
Any help much appreciated..