Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 23rd, 2005, 03:57 AM
Authorized User
 
Join Date: May 2005
Location: Kolkata, W.B., India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
  #2 (permalink)  
Old May 24th, 2005, 07:02 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

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

Regards
Ganesh


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Migrating Project from ASP to ASP.NET hbansal ASP.NET 1.0 and 1.1 Professional 0 September 12th, 2008 05:48 AM
Problem coming while installing asp.net project deeptisingh20 ASP.NET 1.0 and 1.1 Professional 2 April 10th, 2006 06:25 AM
Add asp.net page to asp project debdemoe Classic ASP Basics 0 August 17th, 2005 12:28 PM
Is IT Possible To Share Asp.Net Project alyeng2000 ASP.NET 1.0 and 1.1 Professional 4 March 8th, 2005 01:10 AM
new asp.net Web project problem kemin ASP.NET 1.0 and 1.1 Basics 1 April 15th, 2004 03:48 PM





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