Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ** _Row is the one row of the C# DataTable **
- Aspose.Words.Document _Doc = new Aspose.Words.Document(pSourceTemplatePath);
- DataTable _RowDataTable = pDataSource.Clone();
- _RowDataTable.Rows.Add(_Row.ItemArray);
- _Doc.MailMerge.Execute(_RowDataTable);
- _Doc.Save(pNewFileToSave, SaveFormat.Pdf);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement