This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have developed a web applet in java. here i have created a table using swing package through [JTable table3 = new JTable(TestcolHeads);] when user enters the data in the table. i want to enter the data to database table. can anyone help me to write a query to enter the values
In my opinion you may have to provide a button, clicking which you can run your database entry code. It will be very easy to get the values into the database as you have methods like getValueAt(row,col) and getRowCount() etc. for the JTable class. You may have to run a loop to collect all table entries and insert it to the database. Regards