Share via


IResultSet.UpdateNString Method

Definition

Overloads

UpdateNString(String, String)

Updates the designated column with a String value.

UpdateNString(Int32, String)

Updates the designated column with a String value.

UpdateNString(String, String)

Updates the designated column with a String value.

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

nString
String

the value for the column to be updated

Attributes

Exceptions

Remarks

Updates the designated column with a String value. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. 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.6.

Java documentation for java.sql.ResultSet.updateNString(java.lang.String, 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

UpdateNString(Int32, String)

Updates the designated column with a String value.

[Android.Runtime.Register("updateNString", "(ILjava/lang/String;)V", "GetUpdateNString_ILjava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNString (int columnIndex, string? nString);
[<Android.Runtime.Register("updateNString", "(ILjava/lang/String;)V", "GetUpdateNString_ILjava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNString : int * string -> unit

Parameters

columnIndex
Int32

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

nString
String

the value for the column to be updated

Attributes

Exceptions

Remarks

Updates the designated column with a String value. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. 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.6.

Java documentation for java.sql.ResultSet.updateNString(int, 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