Senin, 21 Maret 2011

Simple paging with ASP.NET MVC and NHibernate

This post demonstrates how you can do efficient paging using ASP.NET MVC and NHibernate.To make paging efficient we need to pass the start index and the number of records to return to the database. So that we can display page links we also need to pass some information to our view such as the number of pages available and the current page index. I found the cleanest way of doing this was to

Tidak ada komentar:

Posting Komentar