请教Access数据库的连接?
String sql="";sql=sql+"insert ito wglmessage";
sql=sql+"(code,";
sql=sql+"stime,";
sql=sql+"etime,";
sql=sql+"hours,";
sql=sql+"cause,";
sql=sql+"time)";
sql=sql+" values (";
sql=sql+"'"+personid+"',";
sql=sql+"'"+sdate+"',";
sql=sql+"'"+eday+"',";
sql=sql+"'"+hours+"',";
sql=sql+"'"+cause+"',";
sql=sql+"getdate())";
ResultSet rs=stmt.executeQuery(sql);
我是这样写的,但提示说"org.apache.jasper.JasperException: [Microsoft][ODBC Microsoft Access Driver] INSERT INTO 语句的语法错误。"
痛苦!