We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using Mail Merge with Database

Thread ID:





132109 Aug 14,2017 10:38 PM UTC Aug 15,2017 10:17 AM UTC WPF 1
Tags: DocIO
David Bush
Asked On August 14, 2017 10:38 PM UTC

I am creating a program that will ask several questions to a user and give possible answers that the user will choose from.  With the answers that the user selects this will be saved to another database.  I have been trying to locate a sample of Mail Merge that uses a database (in this instance I am using SQLite) that can show how to pull the database table down and match the database entries to the form fields that are in a template. I am sure the data from the database will be stored in a data table or a List, however, I am not sure how to match the form fields from the template to the entries in the database. Does anyone have a sample that uses a database to store the users answers and match them to the form fields to Mail Merge?

Thanks in advanced.


Sethumanikkam Yogendran [Syncfusion]
Replied On August 15, 2017 10:17 AM UTC

Hi David,

Thank you for contacting Syncfusion support.

On further analyzing with the given details, we suspect your requirement is to perform Mail merge with data source in the input template. If so, you can use merge fields and data source as field values to perform Mail merge using Essential DocIO.

Kindly refer the below links to know more about working with Mail merge and group merge with data source.
UG links:

Online sample link:

If you’re still facing any difficulties to meet your requirement, then kindly provide the following details which will helpful to provide you the solution at the earliest.
1. Working scenario along with the sample or complete code snippet used at your end.
     2. Input template document (if any) used.
     3. Data set (dummy) used for Mail merge process.
     4. Screenshot of your output or expected output document.

Please let us know if you have any other questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon