Code example for RowSet

Methods: getMaxRows

0
	} 
	 
	public int getRowCount() { 
		int max = 0;
		try { 
			max = rowSet.getMaxRows();
		} catch (Exception e) {
			e.printStackTrace();
		} 
		return max;
	} 
	 
	public int getColumnCount() { 
		int j=0;
		for(int i=0;i<visibleColumns.length;i++) {
			if(visibleColumns[i]) {
				j++;
			} 
		} 
		visibleColumnsCount=j;
		System.out.println("Column Count = "+j);