LINQ reporting template Syntax for Dynamic rows

I have a table in my Word Template. I want to render dynamic rows for that table using the LINQ Reporting engine, but I’m struggling to find the correct syntax for the template. My syntax is available in the attachment.
LINQ reporting engine issue.docx (14.4 KB)

The error that I’m facing is

“Tag ‘item’ is not well-formed. Tag ‘item’ must be located within a title of a combobox or dropdown list content control.”,

The goal is to have a foreach loop inside the template, and after passing the data source, it should generate dynamic rows based on the data.

@tabraiz You should use <<[item.Sku]>> instead of <<item.Sku>>. Please see the modified template:
LINQ reporting engine issue_modified.docx (14.7 KB)

Please see our documentation for more information:
https://docs.aspose.com/words/net/working-with-table-row-data-bands-linq/

1 Like

Thanks. It works like a charm.

1 Like