If DataSetValue IsNot DBNull.Value AndAlso DataSetValue = SomeValue Then
'Value isn't a DB Null and is equal to whatever condition(s)
End If
If Not myDataReader.IsDBNull(columnIndex) AndAlso myDataReader.GetDouble(columnIndex) = myDouble Then
If Not myDataRow.IsNull(columnName) AndAlso CDbl(myDataRow(columnName)) = myDouble Then