Compartilhar via


IResultSet.UpdateBigDecimal Method

Definition

Overloads

UpdateBigDecimal(Int32, BigDecimal)

Updates the designated column with a java.math.BigDecimal value.

UpdateBigDecimal(String, BigDecimal)

Updates the designated column with a java.sql.BigDecimal value.

UpdateBigDecimal(Int32, BigDecimal)

Updates the designated column with a java.math.BigDecimal value.

[Android.Runtime.Register("updateBigDecimal", "(ILjava/math/BigDecimal;)V", "GetUpdateBigDecimal_ILjava_math_BigDecimal_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBigDecimal (int columnIndex, Java.Math.BigDecimal? x);
[<Android.Runtime.Register("updateBigDecimal", "(ILjava/math/BigDecimal;)V", "GetUpdateBigDecimal_ILjava_math_BigDecimal_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBigDecimal : int * Java.Math.BigDecimal -> unit

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

x
BigDecimal

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.math.BigDecimal value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.2.

Java documentation for java.sql.ResultSet.updateBigDecimal(int, java.math.BigDecimal).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

UpdateBigDecimal(String, BigDecimal)

Updates the designated column with a java.sql.BigDecimal value.

[Android.Runtime.Register("updateBigDecimal", "(Ljava/lang/String;Ljava/math/BigDecimal;)V", "GetUpdateBigDecimal_Ljava_lang_String_Ljava_math_BigDecimal_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBigDecimal (string? columnLabel, Java.Math.BigDecimal? x);
[<Android.Runtime.Register("updateBigDecimal", "(Ljava/lang/String;Ljava/math/BigDecimal;)V", "GetUpdateBigDecimal_Ljava_lang_String_Ljava_math_BigDecimal_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBigDecimal : string * Java.Math.BigDecimal -> unit

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

x
BigDecimal

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.BigDecimal value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.2.

Java documentation for java.sql.ResultSet.updateBigDecimal(java.lang.String, java.math.BigDecimal).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to