When we want to implement custom paging we use page number and page size. Sample code below:
1 2 3 4 |
int PageSize=10; int PageNumber=0 int SkipRecord =PageSize*PageNumber; var CustomerList =db.Customerlist.skip(skipRecord).Take(PageSize).ToList(); |