C# 任何用于处理 Excel(*.xls 和 *.xlsx)文件的开源/免费库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15990871/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-10 18:41:13  来源:igfitidea点击:

Any open source / free library for handling Excel (both *.xls and *.xlsx) files?

c#export-to-excel

提问by King King

I know of some open source libraries for handling with Excel files but these are for only *.xls or *.xlsx, for example NPOI is for *.xls, EPPlus and ClosedXML are for *.xlsx. I don't want to use Microsoft Excel Automation because of the performance matter. Could you please suggest me with some open source or free library meeting this purpose (handle with both *.xls and *.xlsx).

我知道一些用于处理 Excel 文件的开源库,但这些库仅用于 *.xls 或 *.xlsx,例如 NPOI 用于 *.xls,EPPlus 和 ClosedXML 用于 *.xlsx。由于性能问题,我不想使用 Microsoft Excel 自动化。您能否向我推荐一些符合此目的的开源或免费库(同时处理 *.xls 和 *.xlsx)。

采纳答案by WolfOdrade

How about spreadsheetlight? Is open-source, with an MIT license.

电子表格灯怎么样?是开源的,具有 MIT 许可证。