Share via


IResultSet.UpdateDate Method

Definition

Overloads

UpdateDate(Int32, Date)

Updates the designated column with a java.sql.Date value.

UpdateDate(String, Date)

Updates the designated column with a java.sql.Date value.

UpdateDate(Int32, Date)

Updates the designated column with a java.sql.Date value.

[Android.Runtime.Register("updateDate", "(ILjava/sql/Date;)V", "GetUpdateDate_ILjava_sql_Date_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateDate (int columnIndex, Java.Sql.Date? x);
[<Android.Runtime.Register("updateDate", "(ILjava/sql/Date;)V", "GetUpdateDate_ILjava_sql_Date_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateDate : int * Java.Sql.Date -> unit

Parameters

columnIndex
Int32

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

x
Date

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Date 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.updateDate(int, java.sql.Date).

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

UpdateDate(String, Date)

Updates the designated column with a java.sql.Date value.

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

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

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

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