Concept
The Text Control Reporting Framework consists of the non-visual classes part of the namespace TXTextControl.DocumentServer including the TXTextControl.DocumentServer.MailMerge component, field adapters TXTextControl.DocumentServer.Fields and the visual WYSIWYG template editors.
This demo uses the MVC version of TXTextControl.Web.MVC.DocumentViewer included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.
Version 32.0 SP4 (NuGet Version 32.4.0)
After a template has been successfully designed, the reporting engine TXTextControl.DocumentServer.MailMerge is merging data into the template. For each data row of the master table in the data source, a document is created. Merge fields are populated with column values and repeating blocks are merged with data rows of related child tables in the data source.
A data source can be any IEnumerable object (business objects), JSON objects, DataSet and DataTable objects. Text Control Reporting follows the concept of pre-shaped data where data queries are executed before data is passed to the merge process.
Sample Source Code
© 2024 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.