Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created September 17, 2015 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/a2fcfa071804f568675f to your computer and use it in GitHub Desktop.
Save bjoerntx/a2fcfa071804f568675f to your computer and use it in GitHub Desktop.
// create a new DataSet and read the XML file
DataSet ds = new DataSet();
ds.ReadXml("sample_db.xml", XmlReadMode.Auto);
// create a new dialog and use the DataSet and template as parameters
FieldRemappingDialog frmFieldMapping =
new FieldRemappingDialog(
"invoice.docx",
TXTextControl.StreamType.WordprocessingML, ds);
frmFieldMapping.ShowDialog();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment