public Form5() { InitializeComponent(); ReportDocument reportDocument = new ReportDocument(); string filePath = Path.Combine(Application.StartupPath, "CrystalReport11.rpt"); //report file name .rpt reportDocument.Load(filePath); crystalReportViewer1.ReportSource = reportDocument; } private void dynamicreporttest_Load(object sender, EventArgs e) { this.crystalReportViewer1.RefreshReport(); // report viewer file name is crystalReportViewer1 }
string filePath = Path.Combine(Application.StartupPath, "/Project_name/Folder_name/CrystalReport11.rpt");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)