IsDBNull method

Checks whether the value from the specified column is NULL.

Syntax
Visual Basic
Public Overrides Function IsDBNull( _
   ByVal columnID As Integer _
) As Boolean
C#
public override bool IsDBNull(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

True if value is NULL, false if value is not NULL.

See also