Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to persist datareader
Message
De
07/01/2007 19:13:29
 
 
À
07/01/2007 18:30:59
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 1.1
Divers
Thread ID:
01183319
Message ID:
01183323
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform