Code example for ResultSet

Methods: beforeFirst, getRow, last

0
	} 
 
	public int getRowCount() { 
		try { 
			if (prowCount <= 0) {
				mResultSet.last();
				prowCount = mResultSet.getRow();
				mResultSet.beforeFirst();
			} 
			return prowCount;
 
		} catch (Exception e) {
			return 0; 
		} 
	} 
 
	@Override 
	public void setValueAt(Object value, int row, int col) {
 
	}