Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Datagrid - Start on a page other than page 1

Posted on 2004-10-01
1
Medium Priority
?
208 Views
Last Modified: 2010-04-15
I would like to be able to tell the datagrid to start on page 2 (or whatever) when i go into a page...  how can i do this?
0
Comment
Question by:Caliguian
1 Comment
 
LVL 18

Accepted Solution

by:
tusharashah earned 500 total points
ID: 12202800
Just before you bind your datagrid add this code:

------------------------------------------------------------------------------------------------
DataGrid1.CurrentPageIndex = 1; // 1 actually reffers to page 2
------------------------------------------------------------------------------------------------

-tushar
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question