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:
Dim rds = New ReportDataSource()
rds.Name = "CutList"
rds.Value = dtCL
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.