try{
String sql= "insert into student(Sno,Sname,Sae)
values
('"+Sno+"','"Sname"','"Sage"')";
db_student.executeQuery(sql);
}
catch(Exception e){
}错误提示
String literal is not properly closed by a double-quote
String sql= "insert into student(Sno,Sname,Sae)
values
('"+Sno+"','"Sname"','"Sage"')";
db_student.executeQuery(sql);
}
catch(Exception e){
}错误提示
String literal is not properly closed by a double-quote
String sql= "insert into student(Sno,Sname,Sae)
values
('"+Sno+"','"+Sname+"','"+Sage+"')";
db_student.executeQuery(sql);
}
catch(Exception e){
}