0

In my c# .net (win form) project I have to many template word file with content and tables. I want fill this word file with my database data by using ms word bookmark or field. What tools I can use for this issue? Point: this tools must fill my nested table in word with appropriate template definition. Any ideas are welcome. I know aspose.word but it is not free, I looking to find free one.

Hadi Sharifi
  • 1,497
  • 5
  • 18
  • 28

1 Answers1

0

You can use

  1. OpenXml
  2. DocX

I have used OpenXml in past and is quite handy.

I don't have code for the same, however here are few links from stackoverflow itself Saving an xml document results in corrupt file Save modified WordprocessingDocument to new file

For docx http://www.codeproject.com/Articles/660478/Csharp-Create-and-Manipulate-Word-Documents-Progra

Community
  • 1
  • 1
Nipun Ambastha
  • 2,553
  • 1
  • 16
  • 26