“Insert into 语句的语法错误”的解决方法
在调用oleDbDataAdapter.Update(dataSet)时,出现这种错误
解决方法:
oleDbCommandBuilder = new OleDbCommandBuilder(oleDbDataAdapter);
oleDbCommandBuilder.QuotePrefix = "[";
oleDbCommandBuilder.QuoteSuffix = "]";
在调用oleDbDataAdapter.Update(dataSet)时,出现这种错误
解决方法:
oleDbCommandBuilder = new OleDbCommandBuilder(oleDbDataAdapter);
oleDbCommandBuilder.QuotePrefix = "[";
oleDbCommandBuilder.QuoteSuffix = "]";