use flowing linq query to ger top x (x is no of rows required) for the result
var result= (from t in tblItems.AsEnumerable()
select t).Take(x);
cheers
Samitha
var result= (from t in tblItems.AsEnumerable()
select t).Take(x);
cheers
Samitha
No comments:
Post a Comment