如何生成ASP.NET中的Word文档(DOC,DOCX)?

问题描述:

如何生成的Word文档(DOC,DOCX)在ASP.NET?

How to generate Word document(doc,docx) in ASP.NET?

您可以通过创建OpenXML文档的Open微软Office XML SDK 2.0。请注意,这仅适用于 .DOCX ,而不是 .DOC 从早期版本的Word的二进制文件。

You can create OpenXML documents using the Open XML SDK 2.0 for Microsoft Office. Note that this only applies to .docx, not .doc binary files from earlier versions of Word.

文档都可以在这里找到

Documentation can be found here.