🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #21

D2005 Datagrid paging

#21
From: James
Date: Thu, 04 Jan 2007 16:45
13 lines
1364 bytes
Hello,

I am trying to use a datagrid control and enable paging. No matter what I do I get the following errror: 
Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount.
even though if I step through and debug I see that the pageindex I am attempting to set (1) is less than the page count (2). 

I have searched for this message in the newsgroups and cannot find any answer that applies. Has anyone had this problem and been able to resolve it? 

Any thoughts would be greatly appreciated. Or if anyone has any ideas and needs more info from me I would be happy to put it up here.

Thanks,
James
Technical Details
Message-ID: <459d2f1e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,5bca6ea60c26735f,start
X-Google-Attributes: gid21665a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "James" <james@no_spam_intinfo.com>
Sender: "James" <james@no_spam_intinfo.com>
Reply-To: "James" <james@no_spam_intinfo.com>
Subject: D2005 Datagrid paging 
Newsgroups: borland.public.delphi.aspdotnet.components.using
X-User-Info: 76.181.83.231     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <459d2f1e$1@newsgroups.borland.com>
Date: 4 Jan 2007 08:45:18 -0800
X-Trace: newsgroups.borland.com 1167929118 207.105.83.66 (4 Jan 2007 08:45:18 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail