Custom paging
How we can do GridView Custom Paging in ASP.NET 4.0 with SQL Server Stored Procedure?
1 Answer
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
Banketeshvar Narayan9 reputationPosted Aug 12, 2011, 9:17 AM EDT
you have to take following variable.
@pageno int, @pagesize int, @totalrecords int output
...select statement....
you have to take @totalrecords for calculating number of pages.