在服务器上没有Excel的情况下在ASP.net中生成格式正确的excel文件 [英] generating nicely formatted excel files in ASP.net without having Excel on server
问题描述
在excel文件中生成普通的列数据非常容易,但是你们中的任何人是否都已经生成了excel文件,该文件具有放置在不同工作表中的不同块中的数据,并且格式精美,而无需使用COM来操作excel文件[我想避免].任何想法都将真正有帮助.
Generating normal columnar data in excel file is quite easy but does any one of you have generated excel files having datas in different blocks placed in different sheets and beautifully formatted without having to manipulate the excel file using COM [which i want to avoid]. Any ideas would be really helpful.
输出的excel文件应与Office 2003 + Office 2007兼容
The output excel file should be compatible with Office 2003 + office 2007
推荐答案
不完全知道(因为我在开发人员和服务器上都安装了Excel),但我认为
Don't know exactly (as I've Excel installed on both my dev and server machines) but I think ExcelPackage can do the trick.
这篇关于在服务器上没有Excel的情况下在ASP.net中生成格式正确的excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!