Delen via


SqlDataRecord.SetSqlSingle(Int32, SqlSingle) Method

Definition

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

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

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
SqlSingle

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