image0013

int.Parse(dtDataTable.AsEnumerable().Select(kv => kv.Field("Field0")).Max());

where dtDataTable is a C# DataTable

Thanks and Regards,

Advertisements