views:

487

answers:

0

hi,

i am getting an error message in the report viewer(http://www.codeproject.com/KB/dotnet/AdvancedReportViewer.aspx): A data source instance has not been supplied.

already used

m_ReportControl.EmbeddedReport = "C2.ReportProjectSimple.rdlc";

m_ReportControl.DataSource = new ReportDataSource("C2.Project," this.m_ProjectFilter.ProjectCollection2);

EDIT: new ReportDataSource

and the RefreshReport

after some fixing of the code (new ReportDataSource and using of EmbeddedReport) the report viewer is blank without any error message.

what is missing?