Delen via


SqlDataRecord.SetSqlDouble(Int32, SqlDouble) Method

Definition

Sets the data stored in the column to the specified SqlDouble value.

public:
 virtual void SetSqlDouble(int ordinal, System::Data::SqlTypes::SqlDouble value);
public virtual void SetSqlDouble (int ordinal, System.Data.SqlTypes.SqlDouble value);
abstract member SetSqlDouble : int * System.Data.SqlTypes.SqlDouble -> unit
override this.SetSqlDouble : int * System.Data.SqlTypes.SqlDouble -> unit
Public Overridable Sub SetSqlDouble (ordinal As Integer, value As SqlDouble)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
SqlDouble

The new value of the column.

Exceptions

The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).

Applies to