JTable and DataBase: bringing data to JTable
hello there,
i am new to java. working on my first project. i am reffering the book "Beginning JAVA 2" by Ivor Horton. i have used the code to bring my data from MySql Database to a JTable. i have copied example from book, that uses a Resultset and ResultSetMetaData. my problem is that my data is displayed in table but the first row of the database is missing. i hav 3 records in table, but it is showing only 2 records.
plz help me....
Thanks in advance...
-Rashmirathi
|