469,625 Members | 1,066 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

Improving Making DataGridview Virtual Mode with caching sample code

MSDN Winforms DataGridView VirtualMode with caching sample code
DataRetriever loads two pages always to cache thus making 2 database
accesses.

If datagridview uses one page of data, second page retrieval is unnessecary
and makes DataGridView display 2 times slower.
How to change this sample code so that only one page is loaded initially and
second is loaded on real demand only ?
How to change this code so that it allows more than 2 pages of cached data?
2 page limit seems to be hardcoded into this page.

Or is there some other sample code which has solved those issues ?

Andrus.

Nov 3 '08 #1
0 3459

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Rainer Queck | last post: by
2 posts views Thread by Steve Richter | last post: by
2 posts views Thread by Michael Meckelein | last post: by
reply views Thread by Richard Charts | last post: by
3 posts views Thread by Andrus | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.