I want to create 16 Textboxes, named textbox1 to textbox16, inside a for loop which runs for 16 times. Hence, 1 textbox is created in each loop. How to achieve this ?
I want to create 16 Textbox es, named textbox1 to textbox16 , inside a
Share
You can’t make dynamically named variables. In this kind of situationen, it makes most sense to keep the controls in some collection, for instance in a
List<T>: