How can we achieve dynamic columns using mail merge?

Hi,
I need to create a product compare table in Aspose.Words.
Table may have 2 or more columns it depends on the product selection of the user.

I attached the image how it looks like.

Here the product count may vary to 2 to 4

Col1 prod1 prod2 prod3
Height 14cm 52cm 23cm
Weight 25g 45g 56g

How can i achive this using mail merge??


Thanks,
karthik P

Hi Karthik,


Thanks for your inquiry. I think, you can achieve this after reading the articles suggested below:

http://docs.aspose.com/display/wordsnet/Simple+Mail+Merge+Explained
http://docs.aspose.com/display/wordsnet/How+to++Execute+Simple+Mail+Merge

In addition, please go through the following thread:
<a href="Dynamic Columns and Rows Report using Mail Merge

I hope, this will help.

Best Regards,

@awais.hafeez,


Thanks for your response. I done it using the document builder by constructing each cell.

Thanks,
Karthik P