ResultSet in JTable

Posted by Merin Treesa Joseph on Stack Overflow See other posts from Stack Overflow or by Merin Treesa Joseph
Published on 2010-03-23T09:37:49Z Indexed on 2010/03/23 9:43 UTC
Read the original article Hit count: 321

Filed under:

Sir, How display ResultSet in JTable. i using this code /*String [] record= new String[ColCount]; for (i=0; i

} cell[i] = rset1.getString("loginname"); cell[i] = rset1.getString( "role"); System.out.println(cell[i][0]); //ItemGroup = rset1.getString( "Status"); } System.out.println(ItemCode); JTable jt = new JTable( cell[i], headers);*/

but i get only one row that lastly inserted to database.

© Stack Overflow or respective owner

Related posts about java