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?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ajay rajuRank #4,639 · 333 reputationPosted May 27, 2010, 4:42 AM EDT
check this it may helps you
http://www.c-sharpcorner.com/UploadFile/amit_agrl/PagingInASPNet11262005011702AM/PagingInASPNet.aspx
thanks.
CrishRank #1,487 · 1.1K reputationPosted May 27, 2010, 9:34 AM EDT
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