如何在没有office intrope的情况下读取受密码保护的excel文件

时间:2012-09-19 05:07:52

标签: asp.net excel c#-4.0 linq-to-objects

我需要读取受密码保护的excel文件,但我的网络服务器没有安装microsoft excel应用程序。那么如何读取密码保护的excel文件....

1 个答案:

答案 0 :(得分:0)

Here是一篇博文,介绍了这一点。看起来你需要改变

Microsoft.Office.Interop.Excel.ApplicationClass();

Microsoft.Office.Interop.Excel.Application();