custom paging in datagrid
From: Mong (mongphong28_at_yahoo.com.au)
Date: 03/29/04
- Next message: Ayaz Ahmed: "Re: Refresh icon of ListView"
- Previous message: Niels: "Opening Form"
- Next in thread: Cor: "Re: custom paging in datagrid"
- Reply: Cor: "Re: custom paging in datagrid"
- Messages sorted by: [ date ] [ thread ]
Date: 28 Mar 2004 21:32:33 -0800
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
- Next message: Ayaz Ahmed: "Re: Refresh icon of ListView"
- Previous message: Niels: "Opening Form"
- Next in thread: Cor: "Re: custom paging in datagrid"
- Reply: Cor: "Re: custom paging in datagrid"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|