DataSet save in ASP.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've inherited an ASP.Net application and I'm new to .Net. I have a page which has a dataset declared at the page level. The dataset is populated within the Page_Load if Not Postback. Do I need to save the data set to a session variable? I want to use the contents of the dataset in the click event of a command, but I'm getting this error:Object reference not set to an instance of an object which is indicating to me that it doesn't know or has lost the information in the dataset. Please advise how and when I store the dataset and how/when I retrieve it. Any links you can recommend
Thanks.
 
Hi Lisa,

Yes. (Session variable)

Cor
I've inherited an ASP.Net application and I'm new to .Net. I have a page
which has a dataset declared at the page level. The dataset is populated
within the Page_Load if Not Postback. Do I need to save the data set to a
session variable? I want to use the contents of the dataset in the click
event of a command, but I'm getting this error:Object reference not set to
an instance of an object which is indicating to me that it doesn't know or
has lost the information in the dataset. Please advise how and when I store
the dataset and how/when I retrieve it. Any links you can recommend?
 

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

Similar Threads


Back
Top