G
Guest
Is there a way to generate a list of say textbox controls dynamically at run
time, based on say a value coming out of a database which could vary each
time the code is run. In traditional asp you could just have run a loop to do
something like that. I am aware in you can use something like
Form1.Controls.Add(TextBox1) to add textboxes dynamically at run time but you
still need to declare each individual textbox control as far as I can tell..
This is not practial as I don't know how many I will need before I run the
page.
time, based on say a value coming out of a database which could vary each
time the code is run. In traditional asp you could just have run a loop to do
something like that. I am aware in you can use something like
Form1.Controls.Add(TextBox1) to add textboxes dynamically at run time but you
still need to declare each individual textbox control as far as I can tell..
This is not practial as I don't know how many I will need before I run the
page.