Saving Data to DB in dynamically created control
Hi Everyone,
My requirement is to create a couple of text boxes dynamically and save
data in those text boxes after entering data into them. The way in whic
i tried was:
TextBox txt = new TextBox();
for(i=0;i<5;i++)
{
Page.Controls.Add(txt);
}
The erroe i am gettint is The text box has to be place on a for with
runat = server
I will be glad to read from you
thanks and regards
Ashok
ashok
|