How find smallest value in datatable column

Hi All,

I want to fetch smallest value from data table column can some one help me on this?
below code i used its not working

Convert.ToDouble(in_mscSitesDT.AsEnumerable().Min(Function(row) row(“MTSOCLLI”)))

Thanks

1 Like

I got it working by reordering it a bit

in_mscSitesDT.AsEnumerable.Min(function(row) Convert.ToDouble(row(“MTSOCLLI”).ToString))

2 Likes

include BalaReva.Datatable.Activities package and try thisMindt.xaml (6.1 KB)

Thanks its working fine

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.