TX Text Control .NET Documentation

Quick-Start Tutorial

This quick-start tutorial is designed to introduce the basics of TX Template Designer and to create templates. We recommend working through the tutorial to get hands-on experience with the TX Template Designer user interface.

To learn how to use TX Template Designer, we are going to go through the following steps:

  • Create a template with several text fields from a database.
  • Save this template to your local hard disk.
  • Merge the template with the corresponding data, using TX Text Control .NET Server.

The database field names used in this sample are the same as in the sample. So, you could create new templates using this application and test them with the shipped ASP.NET samples.

1. Choose Merge Field from the Insert main menu.

2. A blank field is inserted. Change the name of the field using the opened editor to company:

3. Repeat step 2 for another field with the name name.

4. After having finished step 3, save the document by clicking Save As... from the File main menu.

5. Save the template using the MS Word DOCX (*.docx) file format.

If you would like to test this template with the MailMerge samples, rename the template to template.docx and copy it into the \ASP.NET\CSharp\MailMerge\MailMerge_Simple folder and start the sample. Your new template will be automatically used to merge the data.