OleDbException in my update method
- by Hamed Norouzi
Why do I have this error? The error message is: Syntax error in INSERT INTO statement.
I want to add a record to my database, but it isn't working. Where is the problem?
The code is:
using (OleDbConnection connection = new OleDbConnection(connectionString))
{
OleDbDataAdapter DbDataAdabter = new OleDbDataAdapter();
…