Private DataTable For Pages ?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top