In the dataset designer, select (Empty)
instead of (Throw Exception)
in the NullValue
field.
If you are accessing the dataset in code, you need to use the IsxxxNull method on the datarow: In this code, r is the datarow, _DateOpened is a Nullable (of Date)
If r.IsDateOpenedNull Then
_DateOpened = Nothing
Else
_DateOpened = r.DateOpened
End If