Saturday, August 20, 2011

getting Count from PagedList

foo.TotalItemCount gives the total records of a collection in a IPagedList<T> while
 
foo.Count will be capped at the maximum number of rows in a page if the total count of records exceeds this number.

No comments:

Post a Comment