Language

IResultSet.Row Property

Definition

Gets the number of the current row in the ResultSet.

public int Row { [Android.Runtime.Register("getRow", "()I", "GetGetRowHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getRow", "()I", "GetGetRowHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Row : int

Property Value

the current row number; 0 if there is no current row

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the current row number. The first row is number 1, the second number 2, and so on. Support for this property is optional when the result set type is TypeForwardOnly.

Java reference for java.sql.ResultSet.getRow.

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