Question : vb.net get all values of a column
Answered by : gleaming-grivet-j7lpk9mrkxj9
Dim Ids = dt.AsEnumerable.Select(Function(r) r.Field(Of Int32)("Id")).ToList()
Source : https://stackoverflow.com/questions/48804821/get-a-list-of-all-values-in-a-column-of-a-datatable-in-the-correct-type | Last Update : Tue, 05 Jul 22