.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

IWorkbook.MailMergeDataSource Property

Specifies the data source for the mail merge.

Namespace: DevExpress.Spreadsheet

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

Declaration

object MailMergeDataSource { get; set; }

Property Value

Type Description
Object

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

Remarks

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.

Note

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