Results 1 to 4 of 4

Thread: Error in Paging

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Error in Paging

    Hello i'm using ASP.NET Datagrid paging but i found and error if i forward to next page
    following errror occur pls tell me to get rid of this error,Thanks.

    " Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. "

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Error in Paging

    You are trying to access a page that doesn't exist.

    For example if there are 2 pages you are trying to access page 3. Hence the error!

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Re: Error in Paging

    No, i have 4 pages but when i advance to 2nd page it give error so pls tell me how can i get rid of this error

  4. #4
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Error in Paging

    Post some code.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width