int i =0;
if
(datared["object type text"].ToString().ToUpper() == "TEXT" ){
i++;
TextBox t1 = new TextBox();t1.ID =
"t" + i; this.form1.Controls.Add(t1); HtmlTableCell Celltxt = new HtmlTableCell(); this.form1.Controls.Add(Celltxt);Celltxt.Controls.Add(t1);
//Celltxt.Controls.Add(ADD);Rowtxt.Cells.Add(Celltxt);
}
// End Texti,m not able that how i can add record in database if i create textbox at runtime.
Replies
Know the answer? Post it — somebody with the same question will find it here.