Compartilhar via


IResultSet.UpdateInt Method

Definition

Overloads

UpdateInt(Int32, Int32)

Updates the designated column with an int value.

UpdateInt(String, Int32)

Updates the designated column with an int value.

UpdateInt(Int32, Int32)

Updates the designated column with an int value.

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

Parameters

columnIndex
Int32

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

x
Int32

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with an int 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.updateInt(int, int).

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

UpdateInt(String, Int32)

Updates the designated column with an int value.

[Android.Runtime.Register("updateInt", "(Ljava/lang/String;I)V", "GetUpdateInt_Ljava_lang_String_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateInt (string? columnLabel, int x);
[<Android.Runtime.Register("updateInt", "(Ljava/lang/String;I)V", "GetUpdateInt_Ljava_lang_String_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateInt : string * int -> 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
Int32

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with an int 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.updateInt(java.lang.String, int).

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