SqlDataRecord.SetDBNull(Int32) SqlDataRecord.SetDBNull(Int32) SqlDataRecord.SetDBNull(Int32) SqlDataRecord.SetDBNull(Int32) Method

定义

将指定列中的值设置为 DBNullSets 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)

参数

ordinal
Int32 Int32 Int32 Int32

从零开始的列序号。The zero-based ordinal of the column.

适用于