✅ ASP.NET OLEDB ExecuteNonQuery UpdateSyntax Error
I made this
But it always says that I made a syntax error on my update, but when I use it on SQL query in Microsoft Access, it works just fine on the same table.
I would get if it actually just doesn't work and I fucked up, but it works on Access so I'm super confused. Any help would be greatly appreciated
4 Replies
Use parametrized queries
Sorry, as of now I'm not familiar of the method, I've been searching and I can't find results on google
http://www.java2s.com/Tutorial/CSharp/0560__ADO.Net/ExecutingaParameterizedQuerywithOleDbCommand.htm
Executing a Parameterized Query with OleDbCommand : OleDbCommand « ...
Executing a Parameterized Query with OleDbCommand : OleDbCommand « ADO.Net « C# / CSharp Tutorial
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.