WebUserControls and SessionState

  • Thread starter Thread starter Andy B
  • Start date Start date
A

Andy B

I am making a WebUserControl that creates a dataset dynamically. There are
multiple steps for each table of the dataset where each step is a different
view of a MultiView control. Do I need to use Session to keep track of the
dataset inside the control?
 
I am making a WebUserControl that creates a dataset dynamically. There are
multiple steps for each table of the dataset where each step is a different
view of a MultiView control. Do I need to use Session to keep track of the
dataset inside the control?

Hi

"multiple steps for each table of the dataset where each step is a
different
view of a MultiView control"

so you change of current viewindex in post back of something ... if
this is the case
keep the dataset in session ...

or if you don't need any postback keeping huge things on session is
not recommended...

be carefull about the viewstate... don't put any data things on
viewstate , it will turn your page slow...

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
 
What do you mean by dont put any data thing on session? So I shouldnt be
putting a dataset in session?
 
Back
Top