Created
April 5, 2016 09:35
-
-
Save bjoerntx/51f8844481836007796c23dce2bec0a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void mailMerge1_DataRowMerged(object sender, | |
TXTextControl.DocumentServer.MailMerge.DataRowMergedEventArgs e) | |
{ | |
string htmlDocument = ""; | |
using (TXTextControl.ServerTextControl tx = | |
new TXTextControl.ServerTextControl()) | |
{ | |
tx.Create(); | |
tx.Load(e.MergedRow, | |
TXTextControl.BinaryStreamType.InternalUnicodeFormat); | |
tx.Save(out htmlDocument, TXTextControl.StringStreamType.HTMLFormat); | |
} | |
Response.Write(htmlDocument); | |
Response.Write("<hr />"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment