共用方式為


absolute Method (SQLServerResultSet)

Moves the cursor to the given row in this SQLServerResultSet object.

public boolean absolute(int row)

參數

row

An int that indicates the row number to move to. Can be positive, negative, or 0.

傳回值

true if the cursor is moved to the given position. false if it is before the first row or after the last row.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members