Hi,friends..
i have one table it have 5 column...in the aspx page i have one text
box and button when the user click the button i want to add another
textbox dynamically..
but it can allow only 4 textboxes because i have only 5 column in
table...another one important poin is suppose user genarated only three
textboxes means when the user click the update button i want to update
the table with the three values at the same time the remaining two
column automatically update with null value..
How can i achieve this...
thanks in advance....
Dynamically creating textbox..
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Nov 19, 2012, 12:32 AM EST
Anurag SarkarRank #1,049 · 1.8K reputationPosted Nov 19, 2012, 1:06 AM EST
tt.Location = new System.Drawing.Point(100, 100);
tt.Name = "button1";
tt.Size = new System.Drawing.Size(75, 50);
tt.TabIndex = 0;
tt.Text = "";
this.Controls.Add(tt);// This is for windows.
panel.Controls.Add(tt);// Put the container like panel , groupbox for control location(For aspx).
//Put the code at click event of button