Databind, display page 2

C

Chip

I'd like to control which page of a multi-page datagrid displays when I call
the Databind method.
Something like Grid.DataBind(3).

Can it be done?

Chip
 
S

Saravana [MVP]

Before binding your datagrid, set the currentpageindex to require page and
then bind. It will show you the corresponding page.

For example.

Grid.CurrentPageIndex = 3
Grid.Databind()

will do the work for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,250
Latest member
Charlesreero

Latest Threads

Top