String a= (String) (stutable).getValueAt(selectedRow, 1);//得到选中行第一例的值
pstm=con1.prepareStatement("delete from student2 where sno='"+ a+"'");
//pstm.executeUpdate();
System.out.println(selectedRow);
System.out.println(a);
我选中的是17行第一列的值,它返回给我的值却是18行第一列的值,