Returns a value indicating whether the column contains NULL values.
Public Overrides Function IsDBNull(ByVal ordinal As Integer) As Boolean
public override bool IsDBNull(int ordinal)
ordinal The zero-based column ordinal.
Returns true if the specified column value is equivalent to DBNull. Otherwise, it returns false.
Call this method to check for NULL column values before calling the typed get methods (for example, GetByte, GetChar, and so on) to avoid raising an exception.