tags:

views:

3

answers:

0

Hello,

I have a DataSet which contains a many to one relationship in it's records:

PersonId and TaskId

TaskId is unique, PersonId is not.

I want to loop through and output each Task into a running document, for each Person. When I get to the next Person I want to save the document I've been building for the last Person, and create a new one.

Is there a good pattern to do this? I'm having trouble with it.

Thank you.

related questions