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

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
 
A

alien2_51

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..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top