469,950 Members | 1,986 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

html table cast

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
Oct 23 '07 #1
3 1352
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

"rodchar" wrote:
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
Oct 23 '07 #2
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?
"Peter Bromberg [C# MVP]" wrote:
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

"rodchar" wrote:
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
Oct 23 '07 #3
rodchar wrote:
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.)

--
Göran Andersson
_____
http://www.guffa.com
Oct 23 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Omavlana | last post: by
14 posts views Thread by al | last post: by
1 post views Thread by Taylor | last post: by
8 posts views Thread by veffen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.