Share via


SqlDataRecord.SetDBNull(Int32) Method

Definition

Sets the value in the specified column to DBNull.

public:
 virtual void SetDBNull(int ordinal);
public virtual void SetDBNull (int ordinal);
abstract member SetDBNull : int -> unit
override this.SetDBNull : int -> unit
Public Overridable Sub SetDBNull (ordinal As Integer)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

Applies to