Could not find installable ISAM

前端 未结 7 1783
Happy的楠姐
Happy的楠姐 2020-11-28 15:52

I have the following code :

string excelConnectionString = @\"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\\db\\suc.xls; Extended Properties=\"\"Excel 1         


        
7条回答
  •  心在旅途
    2020-11-28 16:36

    There's no 64 bit version of the Jet OLEDB drivers, so if you are running this on a 64 bit OS you might need to target x86 in your .NET application and not Any CPU:

    alt text

提交回复
热议问题