使用aspnet读保护excel [英] Read protect excel using aspnet

查看:82
本文介绍了使用aspnet读保护excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想知道是否可以通过aspnet阅读excel电子表格的内容

。电子表格(工作簿)受到保护,它在网络驱动器中保留




请尽可能提供示例代码。提前致谢。非常感谢你的帮助



Hi,

I wonder if it is possible to read the content of an excel spreadsheet
through aspnet. The spreadsheet (workbook) is protected and it resides
in a network drive.

Please provide sample code if possible. Thanks in advance. Your help
is greatly appreciated.

推荐答案

< sw ******** **@yahoo.com写信息

新闻:11 ********************* @ j27g2000cwj.googlegro ups.com ...
<sw**********@yahoo.comwrote in message
news:11*********************@j27g2000cwj.googlegro ups.com...

如果可能,请提供示例代码。
Please provide sample code if possible.



不幸的是,工作簿有密码的事实意味着它不能通过ADO.NET打开
http://support.microsoft.com/kb/211378/EN-US /


因此,您唯一的选择是使用Aspose:
http://www.aspose.com/Products/Aspos...s/Default.aspx


甚至不想尝试使用Office自动化:
http://support.microsoft.com/default...US;q257757#kb2

Unfortunately, the fact that the workbook has a password means that it can''t
be opened via ADO.NET: http://support.microsoft.com/kb/211378/EN-US/

Therefore, your only option is to use Aspose:
http://www.aspose.com/Products/Aspos...s/Default.aspx

Don''t even think of trying to use Office automation:
http://support.microsoft.com/default...US;q257757#kb2


如果它没有密码保护,是否可以阅读工作簿中的

表(超过1张)以及如何完成?


谢谢。


2月23日上午9:10,现在马克雷(Mark Rae) < m ... @ markNOSPAMrae.comwrote:
What if it is not password protected, is it possible to read the
sheets (more than 1) in the workbook and how can this be done?

Thanks.

On Feb 23, 9:10 am, "Mark Rae" <m...@markNOSPAMrae.comwrote:

< sweetpota ... @ yahoo.comwrote in message


新闻:11 ********************* @ j27g2000cwj.googlegro ups.com ...
<sweetpota...@yahoo.comwrote in message

news:11*********************@j27g2000cwj.googlegro ups.com...

如果可能,请提供示例代码。
Please provide sample code if possible.



不幸的是,工作簿有密码的事实意味着它不能通过ADO.NET打开
http://support.microsoft.com/kb/211378/EN-US /


因此,您唯一的选择是使用Aspose: http://www.aspose.com/Products/Aspos...s/Default.aspx


甚至不想尝试使用Office自动化: http://support.microsoft.com/default...US;q257757#kb2



< sw **********@yahoo.com写信息

新闻:11 ********************* @ 8g2000cwh .googlegroup s.com ...
<sw**********@yahoo.comwrote in message
news:11*********************@8g2000cwh.googlegroup s.com...

如果没有密码保护怎么办,是吗可以在工作簿中阅读

表(超过1张),如何做到这一点?
What if it is not password protected, is it possible to read the
sheets (more than 1) in the workbook and how can this be done?

http://www.google.co.uk/search?sourc...DO%2eNET+Excel


这篇关于使用aspnet读保护excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆