S
Steve Le Monnier
If you have a number of controls be they TextBoxes, Combo Boxes or Labels;
is there a way to refer to the controls in a loop via their name, given the
fact that the names are the same with the exception of a number at the end
e.g.
Label1
Label2
Label3
I know that you can use the controls within the Controls Collection, but can
one append the loop counter on the end and valuate this as a statement a bit
like this e.g.
Label + i.ToString()
Comments and suggestion gratefully received.
Steve Le Monnier
is there a way to refer to the controls in a loop via their name, given the
fact that the names are the same with the exception of a number at the end
e.g.
Label1
Label2
Label3
I know that you can use the controls within the Controls Collection, but can
one append the loop counter on the end and valuate this as a statement a bit
like this e.g.
Label + i.ToString()
Comments and suggestion gratefully received.
Steve Le Monnier