Hi i have a gridview contains hundred of records, it is having paging, every page have size 10. now i want to find the first & last row index numbers of the gridview in each paging event? any suggestions?
Asked
Active
Viewed 1,082 times
1 Answers
1
Wouldn't page number times page size give you the last index on the page? MyGrid.PageIndex + 1 * MyGrid.PageSize
For the first on the page you could just subtract page size from the last index that you calculated

Michael
- 1,849
- 18
- 38