Pages

Thursday, May 26, 2011

Get Max From Data Table

decimal srno = 0;List<decimal> srnoList = DtlCollSecuOther.AsEnumerable().Select(t => t.Field<decimal>("srno")).Distinct().ToList();
srno = srnoList.Max();
 

No comments:

Post a Comment

Search This Blog