We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to insert DataTable into document using .NET

We have a requirement to Insert data table in place of placeholders in docx . which among these are the fastest and most efficient way in aspose.words

  1. between tags created in plain text using regex search and insert option.
  2. create a embedded field like mail merge and replace the placeholder with datatable
  3. create bookmarks and replace it with datatable
  4. create Placeholders(Citations) and insert it with datatable

we are dealing with docx files as large as 150- 300 pages and size of ~ 3 MB . which among these will be the most efficient and fastest with aspose. please advise and we will choose the placeholder option accordingly


We suggest you please create a mail merge or LINQ Reporting template and populate it with data table. Please read the following articles.
Mail Merge and Reporting

LINQ Reporting Engine
Working with Traditional Mail Merge Data Sources