IsDBNull(int) Method
Syntax:
public bool IsDBNull(int ordinal)
Description:
Gets a value that indicates whether the column is null
Parameters:
ordinal
Type: System.Int32
The zero-base column ordinal
Return Value:
Type: System.Boolean
True if the specified column is null; otherwise False.
Exceptions:
Exception | Condition |
---|---|
InvalidOperationException | The RdmDataReader is closed or there is no current row. |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.IsDBNull