Suresh Sundar
Success is journey, not a destination, always.
Friday, 22 June 2012
Select Top n Rows Using LINQ in asp.net
List<class name> objList = dalHelper.DataLayerClassName.MethodName(argument);
return objList = objList.Take(5).ToList();
5===> Here u can give how many numbers u want..
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment