473,498 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1407
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3435
by: Omavlana | last post by:
Hi, How can I create a temporary table say "Tblabc" with column fields ShmCoy char(2) ShmAcno char(10) ShmName1 varchar(60) ShmName2 varchar(60) and fill the table from the data extracted...
2
2308
by: Hennie de Nooijer | last post by:
Because of an error in google or underlying site i can reply on my own issue. Therefore i copied the former entered message in this message....
6
18816
by: Paul | last post by:
I was wondering if anyone has had an issue where using vba code to read an excel file and import the data into an access table some records are not imported from the excel file. It seems looking at...
14
5638
by: al | last post by:
Here's what I am trying to write a simple hash table: struct Employee { char name; int id; char department; float salary; };
1
13315
by: Taylor | last post by:
I was pleased to find this that I could easily access all the links in a page using this construct: IHTMLDocument2 d = (IHTMLDocument2) ie.Document; IHTMLElementCollection links = d.links; ...
8
4537
by: veffen | last post by:
Hello all, I'm trying to call the snapshot table function SNAP_GET_TBSP via a jdbc connection using the following query: SELECT * FROM TABLE(SNAP_GET_TBSP(CAST(NULL AS VARCHAR(1), -1)) AS T ...
7
8375
by: rcamarda | last post by:
I wish to build a table based on values from another table. I need to populate a table between two dates from another table. Using the START_DT and END_DT, create records between those dates. I...
0
1468
by: rdraider | last post by:
I have an audit table that tracks changes to inventory items. I am trying to find the first change in avg_cost per item. The table will contain 1 row for the before record and another row for the...
3
2429
by: Lennart | last post by:
Any thoughts on the following scenario anyone? During a performance test I discovered that the application asked one specific query extremely often. It turned out that this particular query...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.