且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误外部表不是预期的格式

更新时间:2022-03-16 22:29:13

使用 Microsoft.ACE.OLEDB.12.0 for excel files

Use Microsoft.ACE.OLEDB.12.0 for excel files

string excelconnectionstring = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" +excelfilepath + ";"+"Extended Properties="Excel 12.0;HDR=Yes";

a href =http://www.connectionstrings.com/excel/ =nofollow> connectionstrings

connectionstrings