L
Lucas Graf
I have a huge amount of data being retrieved from my database (currently
85,000 rows and growing), the ability to view and manipulate ALL this data
won't happen very often, but when it does it is already becoming a long
waiting game.
Currently I am getting the data form the server via a sqlDataReader, then
going row by row and populating a DataTable which I bind to an Infragistics
WindGrid so I can use the WinGrid functionality to sort, group by etc.
This process currently takes about 1/2 seconds to get the data from the
server, and 1 to 3 minutes to populate the DataTable.
So, my question is this....
Is there a way to get the data from the server in some fashion where I can
then show in the grid only the data that needs to be currently viewed,
thereby cutting out the need to loop through all the rows and fill the
datatable. The WinGrid already has the events to request the data needed, I
just need to find a way to get that data requested.
85,000 rows and growing), the ability to view and manipulate ALL this data
won't happen very often, but when it does it is already becoming a long
waiting game.
Currently I am getting the data form the server via a sqlDataReader, then
going row by row and populating a DataTable which I bind to an Infragistics
WindGrid so I can use the WinGrid functionality to sort, group by etc.
This process currently takes about 1/2 seconds to get the data from the
server, and 1 to 3 minutes to populate the DataTable.
So, my question is this....
Is there a way to get the data from the server in some fashion where I can
then show in the grid only the data that needs to be currently viewed,
thereby cutting out the need to loop through all the rows and fill the
datatable. The WinGrid already has the events to request the data needed, I
just need to find a way to get that data requested.