I don't think this helps. I need the session variable to be able to be
accessed from another screen. I have it defined as;
/// <summary>
/// Session variable to hold the execption table
/// </summary>
public static DataTable SESSION_EXCEPTION_TABLE = null;
Add Table to it as;
HttpContext.Current.Session[SESSION_EXCEPTION_TABLE] =
ViewState["dtbException"];
Retrieve it as:
dtbWrite =
Convert.ToString(HttpContext.Current.Session[RecordCount.SESSION_EXCEPTION_TABLE]);
I get complie errors on all of this.
jpabick,
Add it first to a dataset, than it is very simple (typed here watch
errors)
DataSet ds = new DataSet();
ds.Tables.Add(myTable)
Session.Item("ds") = ds;
I hope this helps,
Cor