且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从没有办公室的C#创建Excel文件

更新时间:2023-02-04 15:15:25

p>除非您在服务器/ PC上安装了Excel或使用外部工具(可以不使用Excel Interop,请参阅从C#创建Excel(.XLS和.XLSX)文件),它将失败使用互操作需要安装Excel。

Unless you have Excel installed on the Server/PC or use an external tool (which is possible without using Excel Interop, see Create Excel (.XLS and .XLSX) file from C#), it will fail. Using the interop requires Excel to be installed.