Extracting ASP.NET data in another Class

  • Thread starter Thread starter walterd
  • Start date Start date
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
 
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
 
Back
Top