user422856
user422856

Reputation: 1

I am unable to use crystal report?

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

Answers (1)

Chandan Babu
Chandan Babu

Reputation: 11

try using the relevant namespaces....

using CrystalDecisions.CrystalReports.Engine;

then you can easily create objects for crystal reports.

Upvotes: 1

Related Questions