Need direction: .setObject vs .setString and saving column info to database from GUI-Collection of common programming errors
My code has much repetition so i will just shorthand those parts. I do not know what is the problem with my code as no errors are reported.. just nothing happens.
I am using Netbeans GUI, jdbc and MS SQL. My connection is solid with preparedstatment = pst connection = conn etc.
My aim here is to save text and columns into a single resultset table in SQL.
The code is activated by private void in an action:
private void INSERT1saveCustomers() {
int index=1;
int count = jTable1.getRowCount();
for(int i=0;i