How to get N row from datatable in C#

added by jalpesh
1/17/2013 2:03:57 PM

0 Kicks, 210 Views

Recently one of my friend was needed only first three rows of data table and so he asked me and I have multiple solutions for that. So thought it would be great idea to share with you guys. Possible Solutions to problem: There are two ways to solve this problem. With normal for loop With lamda expression and linq