Hi, I am using TableModel to connect to a database and display the results. I am unable to display the table. It doesn't display anything. Below is the code from the TableModel I am using to connect to database. Could anyone help me find the errors please. any help would be ggreatly appreciated. Thanks
posted 15 years ago
Move con.close(); outside while loop at first. You can't close the connection before you get all the data.