共用方式為


isAfterLast Method (SQLServerResultSet)

Retrieves whether the cursor is after the last row in this SQLServerResultSet object.

public boolean isAfterLast()

傳回值

true if the cursor is after the last row. false if the cursor is at any other position or if the result set contains no rows.

例外狀況

SQLServerException

備註

This isAfterLast method is specified by the isAfterLast method in the java.sql.ResultSet interface.

If this method is used with dynamic cursors, including forward-only read-only cursors, and the selectMethod connection property is set to "cursor", an exception will occur.

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members