paging data from a dataset into a datagrid
I want to have a clear concept about pageing. A good example can solve my problem. Can anyone help me?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
CrishPosted May 27, 2010, 1:34 PM
set datagrid pagination allow true. And in code file write below code.
protected void DGDocument_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
DGDocument.CurrentPageIndex = e.NewPageIndex;
BindDocumentGrid();
}
Don't forget to Mark Do you like this Answer
ajay rajuPosted May 27, 2010, 8:42 AM
check this it may helps you
http://www.c-sharpcorner.com/UploadFile/amit_agrl/PagingInASPNet11262005011702AM/PagingInASPNet.aspx
thanks.