DataAdapter.Update()出现 "INSERT INTO 语法错误"
C# 数据库 DataAdapter.Update(DataSet,Table)出现 "INSERT INTO 语法错误"原因可能是:字段中出现保留关键字;解决办法:OLEDbDataAdapter adp=new OLEDbDataAdapter(sql,connection);OLEDbCommandBuilder= new OLEDbCommandBuilder(adp);O...
原创
2019-11-19 17:40:32 ·
312 阅读 ·
0 评论