SqlDataRecord.SetSqlDecimal(Int32, SqlDecimal) Metoda

Definicja

Ustawia dane przechowywane w kolumnie na określoną SqlDecimal wartość.

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

Parametry

ordinal
Int32

Porządkowość oparta na zerach kolumny.

value
SqlDecimal

Nowa wartość kolumny.

Wyjątki

Wartość ordinal jest mniejsza niż 0 lub większa niż liczba kolumn (czyli FieldCount).

Dotyczy