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

  • Thread starter Thread starter hanz
  • Start date Start date
H

hanz

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

when paging in a datagrid control

All details and code are posted on unreplied posted msg
Jul 11 2003 4:04PM
 
Are you deleting items from your datagrid...? I've ran into this problem, it
was due to deleting items that were bound to my datagrid control it only
happened when the first item in the last page was deleted, causing the
CurrentPageIndex to be 1 greater than the actual index..
 
Back
Top