Udostępnij za pośrednictwem


IRowSet.SetBigDecimal Method

Definition

Overloads

SetBigDecimal(Int32, BigDecimal)

Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value.

SetBigDecimal(String, BigDecimal)

Sets the designated parameter to the given java.math.BigDecimal value.

SetBigDecimal(Int32, BigDecimal)

Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value.

[Android.Runtime.Register("setBigDecimal", "(ILjava/math/BigDecimal;)V", "GetSetBigDecimal_ILjava_math_BigDecimal_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetBigDecimal (int parameterIndex, Java.Math.BigDecimal? x);
[<Android.Runtime.Register("setBigDecimal", "(ILjava/math/BigDecimal;)V", "GetSetBigDecimal_ILjava_math_BigDecimal_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBigDecimal : int * Java.Math.BigDecimal -> unit

Parameters

parameterIndex
Int32

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

x
BigDecimal

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value. The driver converts this to an SQL NUMERIC value before sending it to the database.

Java documentation for javax.sql.RowSet.setBigDecimal(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

SetBigDecimal(String, BigDecimal)

Sets the designated parameter to the given java.math.BigDecimal value.

[Android.Runtime.Register("setBigDecimal", "(Ljava/lang/String;Ljava/math/BigDecimal;)V", "GetSetBigDecimal_Ljava_lang_String_Ljava_math_BigDecimal_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetBigDecimal (string? parameterName, Java.Math.BigDecimal? x);
[<Android.Runtime.Register("setBigDecimal", "(Ljava/lang/String;Ljava/math/BigDecimal;)V", "GetSetBigDecimal_Ljava_lang_String_Ljava_math_BigDecimal_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBigDecimal : string * Java.Math.BigDecimal -> unit

Parameters

parameterName
String

the name of the parameter

x
BigDecimal

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter to the given java.math.BigDecimal value. The driver converts this to an SQL NUMERIC value when it sends it to the database.

Added in 1.4.

Java documentation for javax.sql.RowSet.setBigDecimal(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