Word Template, populate fields, C# .NET
问题 I have a word document (docx format) that I need to populate with data from a dictionary . The key of the dict will be the word field to be populated. I was wondering what is the best way to do this (bookmarks, mail merge fields, etc)? I did a little work with Bookmarks, but I would like to be able to reuse some of the fields (like "first_name" field etc), bookmarks are unique (or I seem to think so). A few lines of code on how to do this would be really helpful. (c# .net 4.0) 回答1: You can