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

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top