I’m created WPF C# (.Net 4.0) application using Crystal Report 2010. In here I’m integrate windows forms CrystalReportViewer to WPF window and also load a Dataset to CrystalReportViewer as follows.
ExtraCR report = new ExtraCR();//crystal report object report.SetDataSource(DataAss.extset);//dataset load to crystal reoprt CrystalReportViewer rptViewer = new CrystalReportViewer(); WindowsFormsHost host = new WindowsFormsHost(); rptViewer.ReportSource = report; host.Child = rptViewer; CReport.Children.Add(host);
It is compile and run perfectly. When I deploy this project, and open Crystal Report it crashing. I haven’t pass experience about Crystal Report deployment. So how to give path and add Crystal Report when project deploy according to my code? Can anyone guide me to deploy Crystal Report project according to my code? Please help me.
preguntado el 08 de noviembre de 11 a las 17:11