title: Local RDLC report file with custom IEnumerable<>
body: <p>I am trying to create a local mode (rdlc) report in my web application.</p>
  
  <p>The source for my report is an IEnumerable of type Customer, each of which has a nested IEnumerable of CustomerOrders as a property.</p>
  
  <p>I'm confused how to create a RDLC report that can show all of the customers, and for each customer show all of the orders.</p>
  
  <p><a href="http://blogs.msdn.com/b/magreer/archive/2008/10/16/setting-the-datasource-for-a-report-at-runtime.aspx" rel="nofollow">This post</a>  talks about how to create a dataset with a format that matches your IEnumerable format, and then substitute it at run time with the actual data you want to use, but I don't know how to define a dataset that matches this IEnumerable, and besides it seems somewhat clunky that I'd need to define a dataset for a report when I have a perfectly good type.. </p>
  
  <p>Is this possible in RDLC files? </p>
  
  <p>Thanks!</p>