大家好, 我在阅读excel时遇到问题. 我已按照以下步骤使用以下步骤来读取excel: 1)使用Microsoft.JET.oledb阅读excel,如果安装了驱动程序,则可以正常工作. 2)使用excel interop读取excel,如果开发人员计算机和客户端计算机都安装了相同版本的Microsoft Office,则此方法可以正常工作. 现在我的问题是某些客户端安装了(相同/其他)办公室,或者(已经/没有)Microsoft.JET.oledb 如果不满足任何条件,我的申请将失败. 是否还有其他其他方法可以读取excel文件,而不依赖于驱动程序或Office版本. 请提出针对此问题的解决方案. 问候, Jagannath G
Hi All, I am facing a problem for reading excel. I have used following steps for reading excel as given below: 1) Read an excel using Microsoft.JET.oledb, this works fine if drivers are installed. 2) Read an excel using excel interop, this works fine if both developer machine and client machine as the same version of Microsoft Office installed. Now my problem is some client have the (same/other) office installed or (has/not has) Microsoft.JET.oledb My application will fail if any one in the condition are not satisfied. Is there any other alternate ways to read excel file which is not dependent on driver or office version. Please suggest a solution for this problem. Regards, Jagannath G
推荐答案我们对(商业)组件Aspose.Cells [ ^ ]. 您只需要将单个DLL文件与您的应用程序一起xcopy部署给客户;不需要Office组件或其他任何组件. 他们有免费的试用版,因此您可以检查一下是否适合您. 干杯 Uwe We were very satisfied with the (commercial) component Aspose.Cells[^]. You simple have to xcopy-deploy the single DLL file together with your application to your customer; no Office components or anything else is required. They have free trial versions, so you can check, whether this is right for you. Cheers Uwe
更多推荐
在没有驱动程序或excel interop的情况下阅读excel
发布评论