EPPlus是否需要在服务器上安装Excel? [英] Does EPPlus require Excel to be installed on the sever?

查看:72
本文介绍了EPPlus是否需要在服务器上安装Excel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

EPPlus是否需要在服务器上安装Excel?如果是,是否还有其他更好的方法可以使用Entity Framework将批量数据从服务器端代码导出到excel文件?

Does EPPlus require Excel to be installed on the server ? If yes, are there any better alternatives for exporting bulk data using Entity Framework from server-side code to an excel file?

推荐答案

否,不需要在服务器上安装Excel,因为您可以在

No, it does not require Excel to be installed on the server, as you can read in the docs:

EPPlus是一个.NET库,它使用Office Open XML格式(xlsx)读写Excel文件.EPPlus除了.NET之外没有其他依赖项.

EPPlus is a .NET library that reads and writes Excel files using the Office Open XML format (xlsx). EPPlus has no dependencies other than .NET.

尽管如此,您确实需要将EPPlus程序集放置在服务器上.

You do need to put the EPPlus assembly on the server though.

这篇关于EPPlus是否需要在服务器上安装Excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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