Extracting ASP.NET data in another Class

W

walterd

Hi All

How can I extract data that's stored in Session, ViewState or Application
from a Data Access class? I need to get data that's stored in an ASP.NET
page code behind in my data access layer. Is there no other way than passing
the values as parameters?

Thanks
 
D

DalePres

Search MSDN for the article titled: "Passing Values Between Web Forms
Pages". I don't know if you could use this technique or not. You might try
including the appropriate references and passing the context handler object
to your other class. The techniques in the article work great within
ASP.Net pages.

DalePres
 

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,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top