Insert Mulitple Row Data from Jtable into database

前端 未结 2 1909
攒了一身酷
攒了一身酷 2021-01-03 08:57

I am trying to save Multiple row data from JTable into Database, Here is my code for reference:

try{

int rows=tblCO2.getRowCount();

for(int row = 0; row<         


        
2条回答
  •  离开以前
    2021-01-03 09:36

    the code above is not able to run in netbeans , However I made a version for netbeans.

    try{
    
      int rows=jTable1.getRowCount();
    
      for(int row = 0; row

提交回复
热议问题