“Insert into 语句的语法错误”的解决方法

在调用oleDbDataAdapter.Update(dataSet)时,出现这种错误

解决方法:

           oleDbCommandBuilder = new OleDbCommandBuilder(oleDbDataAdapter);

           oleDbCommandBuilder.QuotePrefix = "[";
           oleDbCommandBuilder.QuoteSuffix = "]";

原文地址:https://www.cnblogs.com/sunrisefengfei/p/12392008.html