Access SQL syntax error when using OleDbCommandBuilder
Try this: Immediately after the line var builder = new OleDbCommandBuilder(dbAdapter); add the two lines builder.QuotePrefix = “[“; builder.QuoteSuffix = “]”; That will tell the OleDbCommandBuilder to wrap table and column names in square brackets, producing an INSERT command like INSERT INTO [TableName] … instead of the default form INSERT INTO TableName … The square … Read more