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. "
Printable View
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. "
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
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
Post some code.
DJ