M
MAB
How to print the contents of the resultset if the no. of columns and there
types are not known? If I know the no. of columns and types I can do
while (rs.next()) {
System.out.println( rs.getString(1) + ' ' + rs.getInt(2) ) ;
}
thx
types are not known? If I know the no. of columns and types I can do
while (rs.next()) {
System.out.println( rs.getString(1) + ' ' + rs.getInt(2) ) ;
}
thx