I have a ASP.NET Table control which I have dragged to my page. I have to create the rows and columns dynamically which I have also done. Some of the cells in my table are textboxes. I want to be able to modify the textbox values and save the changes. I have added a button within the same panel as the table but when I try to loop through the tables rows I get zero.
Why is the table not remembering my rows and cells? As I have already loaded the data once I don’t want to rebuild the table each time a button is pressed. I think by creating the table each time in Page_Load I’d be going back and forth to the database server. I really want to avoid this.
You can store your dynamically created table in view that you can fetch after rendering.
For Access the table details: