Udostępnij za pośrednictwem


IResultSet.InsertRow Method

Definition

Inserts the contents of the insert row into this ResultSet object and into the database.

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

Exceptions

if a database error happens. Particular cases include the cursor not being on the Insert Row or if any columns in the row do not have a value where the column is declared as not-nullable.

Remarks

Inserts the contents of the insert row into this ResultSet object and into the database. The cursor must be on the insert row when this method is called.

Added in 1.2.

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

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