Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

html table cast

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rodchar - 23 Oct 2007 20:25 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)

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.