how can I put a content in a mergefield in docx

后端 未结 3 718
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 15:18

I\'m developing a web application with asp.net and I have a file called Template.docx that works like a template to generate other reports. Inside this Template.docx I have

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 15:57

    You could try http://www.codeproject.com/KB/office/Fill_Mergefields.aspx which uses the Open XML SDK to do this.

提交回复
热议问题