Udostępnij za pośrednictwem


IResultSet.UpdateBoolean Method

Definition

Overloads

UpdateBoolean(Int32, Boolean)

Updates the designated column with a boolean value.

UpdateBoolean(String, Boolean)

Updates the designated column with a boolean value.

UpdateBoolean(Int32, Boolean)

Updates the designated column with a boolean value.

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

Parameters

columnIndex
Int32

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

x
Boolean

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

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

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

UpdateBoolean(String, Boolean)

Updates the designated column with a boolean value.

[Android.Runtime.Register("updateBoolean", "(Ljava/lang/String;Z)V", "GetUpdateBoolean_Ljava_lang_String_ZHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBoolean (string? columnLabel, bool x);
[<Android.Runtime.Register("updateBoolean", "(Ljava/lang/String;Z)V", "GetUpdateBoolean_Ljava_lang_String_ZHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBoolean : string * bool -> 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
Boolean

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

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

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