Last active
May 4, 2022 07:54
-
-
Save bjoerntx/5dbeaa583a24a29a32c2cdd764936dcf 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
string jsonData = System.IO.File.ReadAllText("data.json"); | |
using (MailMerge mm = new MailMerge() { TextComponent = textControl1 }) { | |
mm.RemoveEmptyFields = false; | |
mm.MergeJsonData(jsonData); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment