How to get last item that is numeric in datatable column

Hi,

How about the following expression?

dt.AsEnumerable.Where(Function(r) Double.TryParse(r(0).ToString, new double)).Last().Item(0).ToString

Regards,

1 Like