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?
 
Back
Top