2

I'm relatively new to MVC and looking to output some data and paginate through it. I don't want some fancy JQuery pagination or anything like that, it has to run server side. I have done this sort of thing previously using Gridviews etc, but not sure how to achieve this using ASP.NET MVC. Does anyone have any ideas how to do this?

I am using the following:

Razor, C# Entity Framework, LINQ

tereško
  • 58,060
  • 25
  • 98
  • 150
Funky
  • 12,890
  • 35
  • 106
  • 161
  • 1
    possible duplicate of [Is there a paging solution for ASP.NET MVC that does paging in the database?](http://stackoverflow.com/questions/1105336/is-there-a-paging-solution-for-asp-net-mvc-that-does-paging-in-the-database) – Paddy May 29 '12 at 10:49
  • possible duplicate of [Paging & Sorting grids with ASP.Net MVC](http://stackoverflow.com/questions/496470/paging-sorting-grids-with-asp-net-mvc) – Chris Gessler May 29 '12 at 10:53

2 Answers2

2

This is a famous tutorial http://nerddinnerbook.s3.amazonaws.com/Part8.htm

Richard Forrest
  • 3,567
  • 2
  • 23
  • 32
1

I think you'll find that this should help you http://msdn.microsoft.com/en-us/magazine/gg650669.aspx

Dave Lawrence
  • 3,843
  • 2
  • 21
  • 35