Akshay

Akshay

  • 1.6k
  • 101
  • 33.3k

On click how to open crystal report

Apr 12 2019 2:53 AM
I want to open crystal report on click event without using crystal report viewer.How to do that any help will be appericiated.
 
my code is-
 
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load("D:\\Desktop\\Epion 30.3.2019\\server\\DomainRepository\\Report\\CasePaper.rpt");
reportDocument.SetParameterValue("opipid", opipid);
reportDocument.ExportToDisk(ExportFormatType.PortableDocFormat, "D:/reportpdf.pdf");

Answers (1)