Go to Property Builder - > Paging - > Check Allow Paging and set properties according to your choice.
protected void DataGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
DataGrid.CurrentPageIndex = e.NewPageIndex;
//Rebind your grid here
DataGrid.DataSource=DataSource;
DataGrid.DataBind();
}
Sunday, November 30, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment