Jitendra Sharma

Jitendra Sharma

  • 1.3k
  • 469
  • 27.4k

How to create crystal report in window application with demo

Oct 11 2016 7:20 AM
created crystal report but have report load failed error i dont konw how to set path for generate report 
 
ReportDocument crypt = new ReportDocument();
crypt.Load(Application.StartupPath +"~\\Report\\CrystalReport1.rpt");
crystalReportViewer1.ReportSource = crypt;
crystalReportViewer1.Refresh();
please check this code or give me solution please ..... 

Answers (2)