After a bit of searching and experimentation, I was unsuccessful in trying to associate a report with a custom object containing a child collection. Instead of using the .Net object, I developed a report using XSD shema and at runtime generated an XML file and set the expense report data source to a DataSet, which I built using the .ReadXML method.
var exportData = new XDocument(....); var dataSet = new System.Data.DataSet(); dataSet.ReadXml(exportData.CreateReader()); var report = new ReportDocument(); report.Load("..."); report.SetDataSource(data);
source share