Alternating Row Colors
Using MailMerge, you can design your table including the style for alternating rows in the template editor.
The merge block range includes two table rows that contain identical merge fields. The background color of the second table row is different. In fact, you could also have different merge fields in those rows. At the end of the first row, a NEXT field has been added which switches to the next data record in the middle of a page.
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.
Prerelease X18 SP3
Sample Source Code
© 2020 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.