使用Microsoft Office互操作,以创建和ASP.NET解析Excel的小号preadsheets [英] Using Microsoft Office Interop to create and parse Excel spreadsheets from ASP.NET

查看:195
本文介绍了使用Microsoft Office互操作,以创建和ASP.NET解析Excel的小号preadsheets的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个要求,即需要使用Office互操作的DLL来生成在Excel 2003中的Excel格式US preadsheet文件由几个模板文件合并成一个多页的工作簿和分析一个新的ASP.NET MVC项目这些文件一旦填写。我们分析这些文件可能回来在Excel 2003,2007或2010格式(我相信2007年和2010年的文件格式是相同的,但随时纠正我这句话)。

I have a new ASP.NET MVC project that has two requirements that require using the Office Interop DLLs to generate Excel spreadsheet files in Excel 2003 format by combining several template files into a multi-sheet workbook and to parse these files once filled in. The files we parse may come back in Excel 2003, 2007 or 2010 format (I believe 2007 and 2010 file formats are identical but feel free to correct me on that).

我会更快乐,如果我们能够说服(内部)客户放弃这一要求。他们已经意识到在这类工作的风险,还是要继续下去所以现在我正在寻找很好的参考,以帮助让我们开始,并遇到了一些麻烦缩小正确的关键字来搜索。

I'd be much happier if we could convince the (internal) clients to drop this requirement. They have been made aware of the risks in this type of work and still want to go ahead so now I'm looking for good references to help get us started and have had some trouble narrowing down the correct keywords to search for.

感谢。

推荐答案

在服务器上使用Excel互操作是一个reallyy坏主意。 http://support.microsoft.com/kb/257757

Using Excel interop on the server is a reallyy bad idea. http://support.microsoft.com/kb/257757

替代品是:

开源

Excel 2003中
ExcelLibrary HTTP://$c$c.google.com/p/excellibrary/下载/列表

Excel 2003 ExcelLibrary http://code.google.com/p/excellibrary/downloads/list

HTTP://npoi.$c$cplex.com/

Excel 2007中

Excel 2007

HTTP://excelpackage.$c$cplex.com/

商业

阅读Aspose细胞的http://www.aspose.com/categories/.net-components/aspose.cells-for-.net/default.aspx

Aspose Cells http://www.aspose.com/categories/.net-components/aspose.cells-for-.net/default.aspx

这篇关于使用Microsoft Office互操作,以创建和ASP.NET解析Excel的小号preadsheets的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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