I created a textbox dynamically like this
Sub Page_Load()
For i = 1 to 5
dim MyTextBox as new TextBox
panel1.controls.add(MyTextBox)

This creates 5 TextBoxes all at ones But say i want a button to create this textboxes one after the other untill i create the whole 5 textboxes how will i need to do the code
Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.