is it possible to creat a dynamic control array
Printable View
is it possible to creat a dynamic control array
Please any expert Help me
What do you mean by dynamic? Do you want to be able to remove and add controls during runtime? Then you should go for a List(Of T).
For example, if you're looking to populate it with textboxes you'd declare it like so:
C# Code:
List<TextBox> textBoxList = new List<TextBox>();
Adding and removing textboxes is just as easy as using the Add/Remove methods.
thanks sir, yes you are right, please guide me how to use it.
Lookup the List<T> class in the MSDN Library. That will guide you how to use it.