Last active
February 15, 2016 23:01
-
-
Save bjoerntx/f8c92ecb0cdd8dd17d81 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
Appendix appendix = new Appendix() | |
{ | |
Field1 = "Field 1 Text" | |
}; | |
Data data = new Data() { | |
Field = "Field Text", | |
Appendix = appendix | |
}; | |
using (MailMerge mailMerge1 = new MailMerge()) | |
{ | |
mailMerge1.TextComponent = textControl1; | |
mailMerge1.RemoveEmptyBlocks = | |
removeEmptyBlocksToolStripMenuItem.Checked; | |
mailMerge1.MergeObject(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment