如何在没有安装excel.exe的情况下将Excel文件转换为xml文档 [英] How to convert Excel file into xml document, without a excel.exe installed in machine

查看:98
本文介绍了如何在没有安装excel.exe的情况下将Excel文件转换为xml文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个要求,那就是我们在项目中使用excel批量上传.
但是在生产环境中,我们不确定msoffice是否已安装在应用程序服务器中.
我的大多数客户都没有安装MS-OFFICE,因此我们需要将excel文件数据导出到数据库中
为此,我们首先将excel数据转换为xml.

有人可以帮我吗.


谢谢.

Hi All,

I have a requirement, that we use a excel bulk upload in my project.
But in production environment we are not sure about whether msoffice is installed in the application server or not.
most of my clients don''t have MS-OFFICE installed, so we need to export the excel file data into database
for this we are first converting this excel data into xml.

Can anybody please help me in this.


Thank you.

推荐答案

您应该使用第三方库来读取和/或转换Excel.这些大多数不需要安装Excel.

我使用GemBox软件的库:它快速可靠.
www.gemboxsoftware.com [ ^ ]
You should use a third party library for reading and/or converting Excel. These will mostly not require Excel to be installed.

I use GemBox software''s library: it''s fast and reliable.
www.gemboxsoftware.com[^]


这篇关于如何在没有安装excel.exe的情况下将Excel文件转换为xml文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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