C# 数据库 DataAdapter.Update(DataSet,Table)
出现 "INSERT INTO 语法错误"
原因可能是:字段中出现保留关键字;
解决办法:
OLEDbDataAdapter adp=new OLEDbDataAdapter(sql,connection);
OLEDbCommandBuilder= new OLEDbCommandBuilder(adp);
OLEDbCommandBuilder.QuotePrefix="[";
OLEDbCommandBuilder.QuoteSuffix="]";