Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. gridview can go last page index?

gridview can go last page index?

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    buffering83
    wrote on last edited by
    #1

    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~

    V 1 Reply Last reply
    0
    • B buffering83

      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~

      V Offline
      V Offline
      Viral Upadhyay
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups