>I have a DataGrid with a Default DataView of a Table in a DataSet as the DataSource. I allow the users sort the columns with that DataView and I allow them to see 10 rows initially; and I would like them to see the next set of < =10 rows if there are more by using navigation buttons.
>
>How should I do that?
>
>TIA
In PageIndexChanged event handler code something like:
private void myDataGrid_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
{
myDataGrid.CurrentPageIndex = e.NewPageIndex;
doDataBind();
}
Cetin