eramgarden Posted November 2, 2004 Posted November 2, 2004 I have 2 ddls, 3 textboxes. All in one row. Now, if users click for example, 'Add new row', i want to display another row..under the first row... 2 ddls and 3 textboxes .. There could be like 30 rows like that..so I dont want to create them , make them invisible,then display them... any other way to do this? Quote
wessamzeidan Posted November 6, 2004 Posted November 6, 2004 You can put these controls in a datagrid template columns and bind this datagrid to a datatable. When ever you want to add another row, add a new datarow to the datatable and rebind it to the datagrid Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
eramgarden Posted November 7, 2004 Author Posted November 7, 2004 i created them dynamically.. dim txtNewTextBox as new Textbox whenever the user clicks. Have to try your way and see that works.. thanks Salam Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.