IsDBNull Method (Int32) (ITypedGetters)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns true if the specified column or parameter is DbNull, false if it is not. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

Function IsDBNull(ByVal ordinal As Integer) As Boolean
Boolean IsDBNull (int ordinal);

Parameters

Parameter

Description

ordinal

The zero-based column or parameter ordinal.

Return Value

True if the specified column or parameter is DbNull, false if it is not

.NET Framework

Supported in: 2.0