Improving MSDN DataGridView VirtualMode with caching sample code
Windows Forms
1
Posts
1
Posters
0
Views
1
Watching
-
MSDN 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.
Andrus