Hi,
I have a dataset containing a child and parent DataTable with a DataRelation. I need to create a new DataTable that will be sent to a ReportBuilder.
The DataTable needs to contain columns with parent information (repeated for each child) and child information.
My thinking is to loop through all the parent rows and if the parentrow meets the selection criteria add a new row to the new DataTable for each childrow. During the loop the rows need to be filled with parent and child information.
I am however not sure if this is the correct way to do it and I have not been able to add parent information to each child row.
Does someone have a sample of can someone give me directions how to approach this correctly?
Thanks in advance, Mark
Start Free Trial