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

Free Support Forum - aspose.com

Multiple tables using LINQ reporting

I’m trying to use LINQ reporting to generate multiple pages in one document using a ‘foreach’ statement in a .dotx template. Each page contains three tables. If I open the foreach tag before the tables and close it after the tables I get an error stating ‘Unexpected end of template’. If the foreach is closed before the tables the error does not appear anymore.
Is this functionality not supported or am I doing something wrong?


Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.