Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to persist datareader
Message
From
07/01/2007 19:13:29
 
 
To
07/01/2007 18:30:59
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 1.1
Miscellaneous
Thread ID:
01183319
Message ID:
01183323
Views:
17
Andrus,

Yep, I'd store it in memory ... I would use a DataSet and a DataAdapter.

~~Bonnie



>My C# Winforms application uses same datareader query a lot of times and it is allowed that it can use cached result from previous datareader creation.
>
>How to cache result obtained by datareader in memory so that in next time
>cached query result is returned instead of makng trip to server?
>
>Or is it better to use DataTable and cache DataTable in memory?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform