C#使用oledb连接excel执行Insert Into语句出现“必须使用一个可更新的查询”的解决办法的示例代码
我发生错误时的环境:Windows 7,Framework 4、0,Microsoft Office 2007,VS2010,c# WinForm;部分代码:1234567891011121314151617string strConn = "Provider=Microsoft.Ace.OleDb.12.0;Persist Security Info=False;" + "data source=" + @excelPath + ";Extended Properties='Excel 12.0; HD