5
Shouts

How to implement paging with LINQ

published 820 days, 3 hours, 17 minutes ago posted by kcherupakcherupa 821 days, 2 hours, 28 minutes ago
Tuesday, February 23, 2010 6:00:03 AM GMT Monday, February 22, 2010 6:48:52 AM GMT

Before going into how paging is implemented with LINQ, Let's discuss the need for implementing paging.

With large amounts of data, it is not a good practice to pull all records from database when you are showing a fraction of them in one page. It is always recommended to use data on demand approach. When you want to show first 20 records out of the search results then you must get the first 20 records from database and discard the rest. Similarly when you want to show next 20 records of the search res...

category: Agile | clicked: 0 | | source: cherupally.blogspot.com | show counter code
tags: Paging, C# 3.0, Linq

No comments yet, be the first one to post comment.

To post your comment please login or signup