
Mail merge is the most typical application for TX Text Control. The combination of TX Text Control's MS Word compatible field functionality and TX Text Control Server for ASP.NET (incl. Windows Forms)'s automated MailMerge component is a very powerful toolset to build high peformance and MS Word compatible mail merge applications.
TX Text Control supports not only the merge process, but also provides the required editor functionality to create templates with a true WYSIWYG interface.
This sample project shows most of the mail merge possibilities of TX Text Control. The following steps are included:
It is quite similar to MS Word mail merge capabilities, but it comes with source code and can be customized completely. The following tutorial explains how to use this sample.
Click on the Select recipients button in the toolbar or choose Select Recipients... from the Mail Merge menu.



mailMerge.TextComponent = tx;
mailMerge.LoadTemplateFromMemory(Document,
TXTextControl.DocumentServer.FileFormat.InternalUnicodeFormat);
mailMerge.Merge(DataTable, true);
The minimum requirements for this sample application are TX Text Control Server for ASP.NET (incl. Windows Forms) 15.1 trial version and Visual Studio 2008.