ASP Text box ID assignment using a for loop.?

lorinelatosha

New Member
I am a noob and i've been trying to figure out how we may assign an ID to \[code\]asp:TextBox\[/code\] tags on creation in ASP.NET using c#.Example:I need to create a thread that may have multiple textboxes. When a user clicks on a button, a text box must be generated with an \[code\]ID\[/code\] say, \[code\]txt01\[/code\]. On being clicked the second time, the \[code\]ID\[/code\] of the generated text box must be \[code\]txt02\[/code\] and so on..depending on the number of clicks.Thanks in Advance.
 
Back
Top