I have a datatable that is created at run time (not populated from a database.) I'm trying to figure out how to bind this datable to either a tablix or to a subreport.

My current code is as such:

vb Code:
  1. Dim rds = New ReportDataSource()
  2. rds.Name = "CutList"
  3. rds.Value = dtCL
  4. ReportViewer.LocalReport.DataSources.Add(rds)

This code runs when the applicable report is selected from a combobox on the ReportViewer. I have verified that the datatable contains the proper data when the code fires but I'm not sure if I'm heading in the right direction or where I should go from here. Any suggestions are appreciated.