Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Datagrid - Start on a page other than page 1

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
Caliguian
Asked:
Caliguian
1 Solution
 
tusharashahCommented:
Just before you bind your datagrid add this code:

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

-tushar
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now