Udostępnij za pośrednictwem


IResultSet.UpdateDouble Method

Definition

Overloads

UpdateDouble(Int32, Double)

Updates the designated column with a double value.

UpdateDouble(String, Double)

Updates the designated column with a double value.

UpdateDouble(Int32, Double)

Updates the designated column with a double value.

[Android.Runtime.Register("updateDouble", "(ID)V", "GetUpdateDouble_IDHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateDouble (int columnIndex, double x);
[<Android.Runtime.Register("updateDouble", "(ID)V", "GetUpdateDouble_IDHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateDouble : int * double -> unit

Parameters

columnIndex
Int32

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

x
Double

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a double 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.updateDouble(int, double).

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

UpdateDouble(String, Double)

Updates the designated column with a double value.

[Android.Runtime.Register("updateDouble", "(Ljava/lang/String;D)V", "GetUpdateDouble_Ljava_lang_String_DHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateDouble (string? columnLabel, double x);
[<Android.Runtime.Register("updateDouble", "(Ljava/lang/String;D)V", "GetUpdateDouble_Ljava_lang_String_DHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateDouble : string * double -> 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
Double

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a double 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.updateDouble(java.lang.String, double).

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