更新时间: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