The requirement is to generate a word document, populate the content control by connecting to data base. The data stored in database is in form of XML.Once the word document is generated, it needs to be saved back to server. If not the document , then at least the data of content control needs to be saved back to data source.
The above may also be done by mail merge, and if the user changes the the mail merged data , it should be stored back to data source.
The application would be web application in ASP.net. , and the user would click a button and the word document would open.
Please could you provide sample code or example , or if it already exists , then let me know where to find it