Ошибка 2 Не удалось найти тип или имя пространства имен «ReportDocument» (отсутствует директива об использовании или ссылка на сборку?) D: \ SoftwareiLogicc # \ customer \ customer \ FrmReportViewer.cs 22 9 customer
эта ошибка возникает при загрузке отчета в c #
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(Application.StartupPath +
@"D:\\SoftwareiLogicc#\Report\MyFirstCrystalReport.rpt");
reportdocument.SetDataSource((DataTable)dt);
reportViewer1.ReportSource = reportdocument;
reportViewer1.Refresh()