Loading
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
Krishna GaradRank #191 · 12.8K reputationPosted Dec 3, 2012, 12:14 AM EST
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 3, 2012, 3:15 AM EST
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Dec 3, 2012, 3:41 AM EST
http://www.c-sharpcorner.com/UploadFile/3d39b4/custom-paging-in-gridview/
In the above article replace gridview by datalist control.Like
<asp:DataList ID="grdEmployee" runat="server">
<ItemTemplate>
<%# Eval("RowNumber") %>
<%# Eval("Name") %>
<%# Eval("SALARY") %>
ItemTemplate>
asp:DataList>
Thanks
Sandeep