Global dataset

  • Thread starter Thread starter Mark Goldin
  • Start date Start date
M

Mark Goldin

I'd like to have a dataset that will be declared on a main ASPX page and
visible in any custom or user control.
Is there a way of doing that?

Thanks
 
Cache it in Application Cache, if you want it to be truly global, or Session
State, if you only want it to be global by user.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
I am not sure if that what I need.
All I want is to have that dataset accessible from the entire project.
 
Using the Cache is probably a good idea, if you need the same dataset for
the "enitre project".

Reading a property of the hosting Page is useful for me simply because my
dataset is user specific and I didn't want to store it in session on the
server. My reason for that is probably flawed anyways. :^)

Greg
 
Back
Top