[求助]为什么会有这样的错误?
我连接了Access数据库(表名admin,字段user,password),且用到了修改命令(修改DataGrid中的数据,让其保存在数据库中),具体的语法如下:this.oleDbUpdateCommand1.CommandText="update admin set password='"+this.textBox1.Text+"' where password=asdf";可运行时总是提示“出现Update语法错误”的消息。
可我在查询分析器里运行类似的代码(sql)“use northwind
insert into customers (customerid,companyname) values('a','a')
update customers set customerid='s' where customerid='a'”时,却可以运行成功。
想不明白:Access数据库和Sql数据库中的Update语法真的不明白吗?或许不是这方面的错误,希望有人能帮我解决一下。谢谢。

<iframe name="alimamaifrm" frameborder="0" marginheight="0" marginwidth="0" border="0" scrolling="no" width="300" height="170" src="/go/app/tbk_app/chongzhi_300_170.php?pid=mm_28854300_2441872_11377541&page=chongzhi_300_170.php&size_w=300&size_h=170&stru_phone=1&stru_game=1&stru_travel=1" ></iframe>