I have created a custom object to call the function “BuildReport(Document document, object dataSource)”, this object contains an object of type DataTable.
To iterate the DataTable in the .docx template I’m doing:
<<for…... To form a relation, you then may use a field, for example...