Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IWorkbook.MailMergeDataSource Property

Specifies the data source for the mail merge.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll


object MailMergeDataSource { get; set; }

Property Value

Type Description

An object that specifies the data source from which the merged data is retrieved.


Any object implementing the IList interface can serve as the data source for the spreadsheet mail merge. Assign the data source object to the MailMergeDataSource property of the mail merge template workbook.

When connecting to a data source that contains multiple data tables, specify the required data member using the IWorkbook.MailMergeDataMember property. See the How to: Perform a Mail Merge example for details.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MailMergeDataSource property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also