How to persist datareader
-
My C# WinForms 1.1 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 making trip to server? Or is it better to use DataTable and cache DataTable in memory?
Andrus
-
My C# WinForms 1.1 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 making trip to server? Or is it better to use DataTable and cache DataTable in memory?
Andrus
-
My C# WinForms 1.1 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 making trip to server? Or is it better to use DataTable and cache DataTable in memory?
Andrus
Datareader is always connected, better go for datatable to persist stuff!
-
My C# WinForms 1.1 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 making trip to server? Or is it better to use DataTable and cache DataTable in memory?
Andrus