hey all,
i have an html table i need to put in session. is there something i can do
to make this lighter before putting into session or is this ok to do? (not
many rows in the table at one time around 10 rows 7 or 8 columns on avg)
thanks,
rodchar
Peter Bromberg [C# MVP] - 23 Oct 2007 20:29 GMT
You mean, you are going to store the HTML String that renders the table,
correct?
Doesn't sound like a problem to me.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
> hey all,
> i have an html table i need to put in session. is there something i can do
[quoted text clipped - 3 lines]
> thanks,
> rodchar
rodchar - 23 Oct 2007 21:11 GMT
i have an html table and the data table that is the data source. does it
matter which one i put in session? i'd like to use the data table if ok?
> You mean, you are going to store the HTML String that renders the table,
> correct?
[quoted text clipped - 12 lines]
> > thanks,
> > rodchar
Göran Andersson - 23 Oct 2007 21:20 GMT
> hey all,
> i have an html table i need to put in session. is there something i can do
> to make this lighter before putting into session or is this ok to do? (not
> many rows in the table at one time around 10 rows 7 or 8 columns on avg)
There is no purpose to store controls in a session variable. Controls
are components, and can only be used once. When the page where the
controls are used is disposed, the controls are disposed also. If you
try to reuse the control on another page, it won't work properly.
Been there, done that. ;) (Well, not with session variables, but with
static caching.)

Signature
Göran Andersson
_____
http://www.guffa.com