友人、私は c# を使用して単純なアプリケーションを開発しました。2 つの rdlc レポートがあります。
以下のコードを使用して、データソースをレポート ビューアーにバインドしました
this.reportViewer1.LocalReport.ReportPath = @"C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\reports\reports\Report1.rdlc";
reportViewer1.LocalReport.DataSources.Clear();
reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("customer", dt.Tables[0])) ;
this.reportViewer1.RefreshReport();
しかし、レポートが生成されると、データが表示されない空のレポートです。何か意見はありますか?