共用方式為


isLast Method (SQLServerResultSet)

Retrieves whether the cursor is on the last row of this SQLServerResultSet object.

public boolean isLast()

傳回值

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

例外狀況

SQLServerException

備註

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

If this method is used with forward and dynamic cursors, an exception is thrown.

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members