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

Free Support Forum - aspose.cloud

How to exit foreach loop in LINQ Reporting on MS word

How can I exit foreach loop on a table?
What is the end tag? I am using {foreach} but can’t stop the loop.

Using MS office word


You need to add a closing foreach tag with a front slash as following. Please also find a sample template along with the data file. Hopefully, it will help you accomplish the task.


ReportTemplate.zip (9.2 KB)