How to generate Word document(doc,docx) in ASP.NET?
12,843
Solution 1
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.
Solution 2
You can use WordML to create Word 2003 docx: http://www.informit.com/guides/content.aspx?g=xml&seqNum=176
Solution 3
I suggest getting Aspose.Words
Author by
amexn
Updated on June 19, 2022Comments
-
amexn almost 2 years
How to generate Word document(doc,docx) in ASP.NET?
-
Moraru Viorel about 11 yearsbut if do this with Aspose.Words I must to have license
-
Kamran Shahid almost 11 yearstoo expensive for simple things
-
JasonPlutext about 10 yearsAnd you can augment that with docx4j.NET for stuff which isn't easy out of the box with the SDK, such as mail merge, XHTML import, PDF export.