Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
public static IQueryable Page(this IQueryable source, int page, int pageSize) { return source.Skip((page - 1) * pageSize).Take(pageSize); }
Post a Comment
No comments:
Post a Comment