1
Answer

On click how to open crystal report

Akshay

Akshay

5y
621
1
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)