Programmatic additions or modifications to a table row or cell will not persist across posts to the server. Table rows and cells are controls of their own, and they are not properties of the Table control. Changes to table rows or cells must be reconstructed after each post to the server.
If the above (C#??) code is within an IsPostBack clause of form load you must move it outside or find other ways to manage the webpages dynamic content.