I fill a Table from my code-behind file (C# ASP.NET 2.0) which is supposed to represent a form.
<asp:Table ID="input_table" runat="server" CellPadding=10 GridLines="Both" BackColor = white>
The table is successfully created here:
protected void Page_Load(object sender, EventArgs e)
// create table
… invoke code to create the table
Session["input_table"] = this.input_table;
The table is made persistent as shown above. The page also contains a button. In its OnClick method I would like to access the entries of the user (in the table cells). Unfortunatley, the table disappears when the button is clicked. I am just wondering why this is and how I can prevent it? Any input would be very much appreciated. Many thanks in advance.