IResultSet.MoveToInsertRow Method

Definition

Moves the cursor to the insert row.

[Android.Runtime.Register("moveToInsertRow", "()V", "GetMoveToInsertRowHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void MoveToInsertRow ();
[<Android.Runtime.Register("moveToInsertRow", "()V", "GetMoveToInsertRowHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member MoveToInsertRow : unit -> unit
Attributes

Exceptions

if a database error happens.

Remarks

Moves the cursor to the insert row. The current cursor position is remembered while the cursor is positioned on the insert row.

The insert row is a special row associated with an updatable result set. It is essentially a buffer where a new row may be constructed by calling the updater methods prior to inserting the row into the result set.

Only the updater, getter, and insertRow methods may be called when the cursor is on the insert row. All of the columns in a result set must be given a value each time this method is called before calling insertRow. An updater method must be called before a getter method can be called on a column value.

Added in 1.2.

Java documentation for java.sql.ResultSet.moveToInsertRow().

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