Im designing a from with 31 textboxes in a column and the rows can increase to how many ever
<td><asp:TextBox id=txt1 ...</td>
I want this to happen dynamically, when a user clicks and add row button
I tried using a literal control to include text
Literal1.Text += "" // html code for whole row
From what I understand you cannot include txtboxes in literal cause it can't have child controls so I used a PlaceHolder
in place of a literal
on a button
TextBox t1 = new TextBox();<br />
Literal l1 = new Literal();<br />
This does add something to the form but not in the tabular format
and when I click the addrow button another time, the old controls (literal and textbox) are removed and a new one is added in place of that.
I want a new row to be added after the existing row can do this with one PlaceHolder ?
and How do I add a whole as shown above (with 31 textboxes) to the PlaceHolder in a tabular form?