Hi
Aman,
Thank
you for your update.
We
have analyzed your sample and found that you have mentioned table name “Parent”
instead of “Parents” in the command argument. Hence the result comes with all
the data in child table. Also provide proper space between the operands in the
argument as like below
Mentioned:
DictionaryEntry cmd2 = new
DictionaryEntry("Childs",
"ParentId=%Parent.Id%");
It
should be:
DictionaryEntry cmd2 = new
DictionaryEntry("Childs",
"ParentId = %Parents.Id%");
For
your reference we have modified your sample to meet your requirement. Please do
find the sample from the below link and let us know if this helps you.
Sample
Link:
http://www.syncfusion.com/downloads/Support/DirectTrac/96727/Syncfusion.MailMerge498637745.zip
Please
let us know if you have any questions.
Regards
Ramkumar