Unable to fire update and insert query in access using C# windows application

前端 未结 1 1328
星月不相逢
星月不相逢 2021-01-23 15:08

I am trying to create one windows application with MS Access backend but I am facing some problems for insert and update query.

The select statement works fine for me, b

1条回答
  •  醉话见心
    2021-01-23 15:43

    Password is a reserved word and should be enclosed in square brackets.

    insert into tblU(UserName, [Password]) values('ops1', 'ops')
    

    Reserved words in Jet and ACE

    0 讨论(0)
提交回复
热议问题