Freigeben über


IResultSet.UpdateNull Method

Definition

Overloads

UpdateNull(Int32)

Updates the designated column with a null value.

UpdateNull(String)

Updates the designated column with a null value.

UpdateNull(Int32)

Updates the designated column with a null value.

[Android.Runtime.Register("updateNull", "(I)V", "GetUpdateNull_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNull (int columnIndex);
[<Android.Runtime.Register("updateNull", "(I)V", "GetUpdateNull_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNull : int -> unit

Parameters

columnIndex
Int32

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

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a null 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.updateNull(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

UpdateNull(String)

Updates the designated column with a null value.

[Android.Runtime.Register("updateNull", "(Ljava/lang/String;)V", "GetUpdateNull_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNull (string? columnLabel);
[<Android.Runtime.Register("updateNull", "(Ljava/lang/String;)V", "GetUpdateNull_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNull : string -> 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

Attributes

Exceptions

if a database error happens.

Remarks

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

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