Hi,
I am creating a page for input. The number of rows is not known ahead of time (although the columns are fully known)
I would need to either use a gridview, but unbound, if possible.
Or I could use a asp:table.
For either, the user would click a button to add new blank rows (inside the cells are textboxes or dropdowns).
I can get this to work easily with a table, but the contract I'm - they prefer I use gridviews. But I don't think this is possible with a gridview? I could bind the gridview to the table, but all I want are blank rows. I've read that using a footer template you can create a new blank row for entry, but can I create 10 at once with a gridview?
With a table I can, with code, add any number of rows, name each row and cell uniquely, have each cell contain the correct control.
Opinions? Should I try to follow the marching orders and somehow use a gridview for this? Can it be done?
Thanks,
KB
I am creating a page for input. The number of rows is not known ahead of time (although the columns are fully known)
I would need to either use a gridview, but unbound, if possible.
Or I could use a asp:table.
For either, the user would click a button to add new blank rows (inside the cells are textboxes or dropdowns).
I can get this to work easily with a table, but the contract I'm - they prefer I use gridviews. But I don't think this is possible with a gridview? I could bind the gridview to the table, but all I want are blank rows. I've read that using a footer template you can create a new blank row for entry, but can I create 10 at once with a gridview?
With a table I can, with code, add any number of rows, name each row and cell uniquely, have each cell contain the correct control.
Opinions? Should I try to follow the marching orders and somehow use a gridview for this? Can it be done?
Thanks,
KB