Click here to Skip to main content
15,028,402 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
If we want to populate large amount of data it takes time.Instead fetch first 10 records then next 10 records on second page from database.
Using Webgrid and PagedList ,intially loading entire data from database.
Please give a solution?

What I have tried:

I have the working storedprocedure
Posted
Updated 22-May-17 0:46am
Comments
F-ES Sitecore 18-May-17 6:18am
   
I'm sure if you google you'll find many possible solutions for this.

https://www.google.com/search?q=mvc+paging+data

   
Comments
Jaizu 18-May-17 7:58am
   
I need MVC pagination with StoredProcedure
Please check the following article which use Jquery DataTables to implement server side pagination in grid:

GridView with Server Side Filtering, Sorting and Paging in ASP.NET MVC 5

Hope it helps!
   
v3
Comments
Jaizu 1-Jun-17 4:45am
   
Thanks Ehsan.

I found another solution using GridMvc

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900