gridview can go last page index?
-
I am making simple board by using gridview. gridview support page index and this function is good. I am setting PageSize to 10. 1. I want to add function which can move first page and last page.(<, >) For example <(move first page) 1 2 3 4 >(move last page) 2. if pageSize is 2, and result row number is 100. Pageindex will have many. such like blow. 1 2 3 4 5 6 7 8 9 10... So i want to show 5 index such as 1 2 3 4 5 > Is it possible?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
-
I am making simple board by using gridview. gridview support page index and this function is good. I am setting PageSize to 10. 1. I want to add function which can move first page and last page.(<, >) For example <(move first page) 1 2 3 4 >(move last page) 2. if pageSize is 2, and result row number is 100. Pageindex will have many. such like blow. 1 2 3 4 5 6 7 8 9 10... So i want to show 5 index such as 1 2 3 4 5 > Is it possible?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
buffering83 wrote:
Is it possible?
Yes it is possible. You need to create your own pager template (user control). There are lot of good Article about paging here in Code Project. Best luck.
Viral My Blog Save Our Tigers