With the new Reporting for 2008, it seems that the original steps don't work.
Create a ClassLibrary, Create a DataSet or TableAdapter and point the
report's DataSource to the DataSet or Data Adapter, and then Point the
ReportViewer's Report to the report.
MyReport r1 = new MyReport(); // from the class library
dt = ta._Get(...)
ds.Tables.Add(dt);
r1.DataSource = ds;
ReportViewer1.Report = r1;
This used to work. NOW with the new Reporting 2008 this doesn't work anymore.
What should I do?
Thanks,
David
Create a ClassLibrary, Create a DataSet or TableAdapter and point the
report's DataSource to the DataSet or Data Adapter, and then Point the
ReportViewer's Report to the report.
MyReport r1 = new MyReport(); // from the class library
dt = ta._Get(...)
ds.Tables.Add(dt);
r1.DataSource = ds;
ReportViewer1.Report = r1;
This used to work. NOW with the new Reporting 2008 this doesn't work anymore.
What should I do?
Thanks,
David