I want to set up a template document along the lines of this:
================ Doc content ---------------- Merge Field1 Merge Field2 Merge Field3 ---------------- More doc content ================
I then want to be able to open the document, load a DataTable from the database in C# and merge the fields in the template section in the middle. The DataTable will have multiple records so it needs to merge and output multiple templates to create one big document. I can't find any examples of doing this.