Hi
is there a property in the Mail Merge class to automatically map data fields to the ms word merge field names?
>Hi Jerrym,
Thank you for your interest in Syncfusion products.
Yes, it is possible to merge the selected record from the Grid control to the corresponding template document merge field. Then we can merge those generated document using ImportContent() method.
Here is the sample for your reference:
http://websamples.syncfusion.com//samples/DocIO.Windows/F74222/main.htm Sample description :1. Click the any record from the Grid control
2. This will match the corresponding record in the template folder
3. Then it will merge the record field value in the template document fields
4. Goto Step1[For more record selction and merge fields]
5. Now click the button "Merge document"
6. This will merge all the documents in the output folder
Please let try this and let us know this meets your requirement.
Best Regards,
Bhuvana