M
Mong
Hi,
Does anyone have a "real" example of using custom paging with a
datagrid that retrieves data from a db? The online example just
inserts sample data each time which doesn't really illustrate how you
go about it, not sure why they bothered!
It says that your query should only return enough data to fill one
page which is obvious, but how do you tell a query to do that without
first getting all the data then working out where to jump in?
Currently I have an sql stored procedure which returns all rows to an
SqlClient.SqlDataReader. Can you jump into this kind of dataset using
an index?
Thanks for any insight,
Mong
Does anyone have a "real" example of using custom paging with a
datagrid that retrieves data from a db? The online example just
inserts sample data each time which doesn't really illustrate how you
go about it, not sure why they bothered!
It says that your query should only return enough data to fill one
page which is obvious, but how do you tell a query to do that without
first getting all the data then working out where to jump in?
Currently I have an sql stored procedure which returns all rows to an
SqlClient.SqlDataReader. Can you jump into this kind of dataset using
an index?
Thanks for any insight,
Mong