问题描述
当我尝试使用 Office 集成包从基于 Web 浏览器的灯开关导出 excel 时出现以下错误:
I get the below error when i try to export excel from web browser based lightswitch using office integration pack :
不允许文件操作.访问被拒绝
File Operation not permitted. Access is denied
有没有办法从浏览器中运行的灯开关中导出excel?
Is there is any way to export the excel from the lightswitch running in the browser?
推荐答案
无法在基于浏览器的应用程序中使用 Office 集成包.您将需要编写自定义代码来写出 .csv
或 OpenXML 电子表格.或者,您可以使用 SQL Server Reporting Services.
It is not possible to use the Office Integration Pack in a browser based app. You will need to write custom code to write out a .csv
or an OpenXML Spreadsheet. Alternatively you could use SQL Server Reporting Services.
参见 此 MSDN 线程 了解更多详情.
See this MSDN thread for more details.
这篇关于Web 浏览器上的 Office 集成包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!