G
Guest
i have textboxes with ids tb1,tb2,tb3...
now i want to set text to these textboxes somehow like
for (i=1;i<5;i++)
("tb"+i).Text = i;
obviously it won't work.
How to translate ("tb"+i) into actual control id?
is there anyway to access properties of controls using ids stored in
variables ?
please help
thanks a lot
now i want to set text to these textboxes somehow like
for (i=1;i<5;i++)
("tb"+i).Text = i;
obviously it won't work.
How to translate ("tb"+i) into actual control id?
is there anyway to access properties of controls using ids stored in
variables ?
please help
thanks a lot