图书馆写一个Excel文件图书馆、文件、Excel

2023-09-03 09:50:17 作者:年轻不拽,世界怎么精彩

我使用的Microsoft Excel互操作库导出Excel文件。不过,这个库的限制是:

I am using Microsoft Excel Interop library for exporting Excel file. However, the limit of this library is that:

需要在用户的计算机必须安装Microsoft Excel中。 当写的内容,Microsoft Excel中必须打开自动化。 要保存的文件,用户必须手动操作:点击文件 - >保存

我需要的库:

写的内容存储在Excel格式。 在保存此内容以编程文件。

注:我用.NET 2.0和C#

Notes: I use .net 2.0 and C#.

感谢。

推荐答案

我已经使用 EPPlus 获得的.xlsx读/写作和它一直很大

I have used EPPlus for .xlsx reading/writing and it has worked great