Reputation: 1
I am unable to use crystal report.
I have a file crystalreport1.rpt and a crystalreportviewer.
I am unable to create the object of crystalreport1.rpt.
crystalreport1 cr=new crystalreport1(); //not able to create object of crystalreport1.rpt
//CrystalReportViewr1.ReportSource = ds;
//CrystalReportViewr1.DataBind();
How do I solve this?
Upvotes: 0
Views: 207
Reputation: 11
try using the relevant namespaces....
using CrystalDecisions.CrystalReports.Engine;
then you can easily create objects for crystal reports.
Upvotes: 1