p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.x and 2.0 Application Design (http://p2p.wrox.com/forumdisplay.php?f=67)
-   -   ASP.NET with C# Project problem (http://p2p.wrox.com/showthread.php?t=29644)

swadhinm May 23rd, 2005 03:57 AM

ASP.NET with C# Project problem
 
Hi Friends,

How are you all? Hope you all are well. I am doing a project in ASP.NET With C#. I have “FIND option” in the “web form”.

THE PROBLEM IS

Sometimes when I select the last index of the datagrid. After that if I fill the find criteria and click the find button then some rare error is occurring.

THE ERROR MESSAGE IS AS FOLLOWS:

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


Hope you understand the problem.

Thanks,

Regards,

Swadhin.

r_ganesh76 May 24th, 2005 07:02 AM

Before filling the grid again, you should set teh PageIndex property to 0

Regards
Ganesh


All times are GMT -4. The time now is 08:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.