我使用的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