See Also

DbDataReaderBase Class  | DbDataReaderBase Members  | Overload List

Language

Visual Basic

C#

Show All

ordinal
The zero-based column ordinal.
See AlsoLanguagesDevart.DataSend comments on this topic.

IsDBNull(Int32) Method

Devart.Common Namespace > DbDataReaderBase Class > IsDBNull Method : IsDBNull(Int32) Method

Gets a value indicating whether the column contains non-existent or missing values.

[Visual Basic]
Overloads Overrides Public Function IsDBNull( _    ByVal ordinal As Integer _ ) As Boolean
[C#]
public override bool IsDBNull(    int ordinal );

Parameters

ordinal
The zero-based column ordinal.

Return Type

true if the specified column value is equivalent to DBNull; otherwise, false.

Remarks

To avoid raising an error, call this method to check for null column values before calling the typed Get methods (for example, GetBytes, GetChars, and so on).

See Also

DbDataReaderBase Class  | DbDataReaderBase Members  | Overload List

 

 


© 2002 - 2013 Devart. All Rights Reserved.