简体   繁体   中英

Perfect Update query not working in VB.net with Access

I am searching this since two days and didn't get any result. I am developing the application in VB.Net and using access as my database. In that I am trying to update the password in my application. I am trying a simple query in my application which throws an Exception. 在此处输入图片说明

I have checked my database, field names are perfect and I also tried this same query in access it was working fine. Please help...

The word PASSWORD is a reserved keyword for MS-Access. You can use it only if you enclose in square brackets

Update Login SET [Password] = '....' WHERE UserName = '....'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM