I am querying a datagridview and it works great unless one of the cells has nothing (dbnull). How to over come this?
Exceptions: Operator '=' is not defined for type 'DBNull' and type 'DBNull'.
Dim query = From row As DataGridViewRow In DataGridView1.Rows _
Where row.Cells(SelectedColumnIndex).Value = filter _
And row.Visible = False _
Select row Distinct