Skip to main content
A newer version of this page is available. .

SpreadsheetExtension.PerformMailMerge(String, Object, String) Method

Initializes the mail merge process and generates the resulting documents containing the merged information.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public SpreadsheetExtension PerformMailMerge(
    string pathToTemplateXlsx,
    object mailMergeDataSource,
    string mailMergeMode
)

Parameters

Name Type Description
pathToTemplateXlsx String

A string value that specifies the path to a template for mail merge.

mailMergeDataSource Object

An object specifying the data source object for mail merge.

mailMergeMode String

A string value that specifies the mail merge mode (“Worksheets”, “OneWorksheet” or “Documents”).

Returns

Type Description
SpreadsheetExtension

A SpreadsheetExtension object that represents the Spreadsheet extension.

See Also