怎样才能更新数据库呢?
我用UPDATE bank set money='"+newmoney+"' where customid='"+customid+"'"
来更新access数据库
但是服务器说update语法错误。
但是我改成UPDATE bank set customname='"+newmoney+"' where customid='"+customid+"'"后,就可以成功改写
数据库中money为双精度,customname为文本
jsp网页中newmoney为float
请问怎样才能改写呢?
谢谢!!