Hi,
I am trying to use subreports in the following way: a parent report contains A LIST and for every item in the list I would like to show a subreport.
This is parent report list load:
public
void
ReportNeedDataSource(
object
sender, System.EventArgs e)
{
DataSource = applicationReport;
if
((applicationReport !=
null
) && (applicationReport.Questionaire !=
null
))
{
stepsList.DataSource = applicationReport.Questionaire.Steps;
}
}
And in the subreport NeedDataSource event handler, I would like to get list item object since it is called for every stepList.DataSource item for filling some subreport fields.
What would be the best aproach to accomplish this?
Best regards,
Costin