ASP & ASP.NET Tutorial Series (174/247). Prefer one article? Read the complete ASP.NET tutorial.
Short description
Return total counts when clients need them.
Pagination tip
var page = items.Skip((pageIndex - 1) * pageSize).Take(pageSize);
ASP & ASP.NET Tutorial Series (174/247). Prefer one article? Read the complete ASP.NET tutorial.
Return total counts when clients need them.
var page = items.Skip((pageIndex - 1) * pageSize).Take(pageSize);