I have the following query that is supposed to filter out null values in the given groupfield but unfortunately returns an empty object when the source dataset contains null values in that field:
Dim SelectQuery = From q1 In loadedData.data.AsEnumerable
Order By q1(aGroupField)
Where Not IsDBNull(q1(aGroupField))
AndAlso q1(aGroupField) <> ""
Select New With {.groupField = q1(aGroupField)}