Private DataTable For Pages ?

  • Thread starter Thread starter Pers
  • Start date Start date
P

Pers

Hi all
I have a Datagrid with DataTable bound like this
DataTable dt=new DataTable();
dt.Columns.Add("Code");
dataGrid1.DataSource=dt;
dataGrid1.DataBind();
Session["MyTable"]dt;

I keep DataTable in Session..I want to keep private this DataTable for this
page.but maybe user open this page to new window from here then
Session["MyTable"] is accessable for both pages.
How can I keep safe each DataTable for each page?
thanks in advance
 
Back
Top