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…...possible to use simplified syntax for them. Although, it is not...then it is possible to use syntax like table.where(r => r.datoId...