Hai guys,
- Can we implement default pagination like asp:gridview for a datagridview in a c# windows application?
- Any samples to get started?
Hai guys,
Create Button as Last , First, Prev , Next
Implement the page function
Next( less than total increase current page position , And reload data source )
Prev ( more than 1 decrease current page position and reload data source ) .. and so on
Remarks: try to find any functions for SQL such as limit , offset to skip the rows
Most of the tutorials use SQL : select top N ..where not in ( select top b*N ) ... where N is the no. of records per page , b is the offset parameters ( current page - 1 ) to skip result rows.
Beware the performance issues occured when querying the large result.