In this tutorial you will know how to refresh the jtable after inserting data into database.
Code to Refresh JTable after inserting data in Sql server in Java
Please watch the video because there are some task to be done beside code
You have to place this code in the save button after pst.executeUpdate()
DefaultTableModel model = (DefaultTableModel)jTable_Display_User.getModel();model.setRowCount(0);
show_user();
Please don't forget To Like, Share and Subscribe my Youtube video and Channel.
Youtube Channel Subscription Click Here
No comments:
Post a Comment