是在服务器上安装MS Excel或办公室读取Web应用程序Excel文件需要它? [英] Is it required to install MS Excel or Office on server to read an excel file in web application?

查看:97
本文介绍了是在服务器上安装MS Excel或办公室读取Web应用程序Excel文件需要它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,以创建和读取 MS Excel中文件asp.net Web应用程序。
我不知道,它需要以服务器或没有。上安装 Microsoft Excel中

I'm working to create and read MS Excel file in asp.net web application. I'm not sure that it requires to install Microsoft Excel on server or not.

我不希望像 MS办公室等在服务器上安装任何授权产品。

I don't want to install any licensed product on the server like MS office etc.

请让我知道我可以在不安装 MS Excel中在服务器上实现该功能还是有必要在服务器上安装MS Excel的?

Please let me know how i can implement this functionality without installing MS Excel on the server or it is necessary to install MS excel on server?

感谢

推荐答案

这取决于你在做什么,而且很有可能,你需要的是对的 Microsoft Access数据库引擎

It depends on what you're doing, but more than likely, all you need is the Microsoft Access Database Engine.

此下载将安装一套组件,这些组件方便
  现有的Microsoft Office文件,如之间的数据传输
  微软的Office Access 2010的(* .MDB和 .ACCDB)文件和Microsoft
  Office Excel中2010(
的的.xls,* .xlsx和* .xlsb)文件到其他数据
  源,如Microsoft SQL Server的。能连接到现有的文字
  还支持文件。 ODBC和OLEDB驱动程序安装
  应用程序开发人员在开发它们与应用程序中使用
  连接到Office文件格式。

This download will install a set of components that facilitate the transfer of data between existing Microsoft Office files such as Microsoft Office Access 2010 (*.mdb and .accdb) files and Microsoft Office Excel 2010 (.xls, *.xlsx, and *.xlsb) files to other data sources such as Microsoft SQL Server. Connectivity to existing text files is also supported. ODBC and OLEDB drivers are installed for application developers to use in developing their applications with connectivity to Office file formats.

修改,以应对

我只是想读取和写入MS Excel文件,但我不希望在服务器上安装任何东西。

I just want to read and write MS excel files but i don't want to install anything on the server.

您可以尝试 EPPlus ,这似乎解决你的问题。虽然我从来没有尝试过。

You can try EPPlus, which seems to solve your problem; though I've never tried it.

EPPlus是一个.NET库,读取和写入Excel中使用开放式办公xml格式(XLSX)2007/2010文件。

EPPlus is a .net library that reads and writes Excel 2007/2010 files using the Open Office Xml format (xlsx).

这篇关于是在服务器上安装MS Excel或办公室读取Web应用程序Excel文件需要它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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