Rendering Master-Child related data using mergefields

We implemented the mergefield version of Aspose.Words and started generating word documents from a datasource that has single table and multiple records. We are using "ExecuteWithRegions" to merge data. I was wondering if my datasource has multiple tables and they are related to each other and when I am looping through a table I would like to render only records that related to that record in other table. Can you provide me an example of that?

Thanks,

Naga.

You can make a custom DataView based on your DataSet which will have only the data that you want to merge and feed that DataView to the ExecuteWithRegions method.

Best regards,