Datagrid simple question???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I have a we application which is collecting data from an SQL server database.
The application is calling a store procedure and return a dataset to be
application.
DAta in the dataset can be huge , more than 1000 records..

I would like to offer to my user the possibility to display for instance 25
records at a time and then having a Next and Previous function to display the
next 255 records.

How to do that kind of paging request ??

Thanks for your reply
Regards
serge
 
In addition, you also need code in DataGird_PageIndexChanged:

DataGrid.CurrentPageIndex = e.NewPageIndex;
DataGrid.DataSource = data_source_object;
DataGrid.DataBind();

HTH

Elton Wang
 
I forgot to mention that, thanks for pointing it out.

--
Best Regards

The Inimitable Mr Newbie º¿º

----------------------------------------
 
Back
Top