Crystal Report Error: load is not a member of crystalreportDocument

olajidemoses
 
on Oct 02, 2020 01:42 AM
1285 Views

I am try to use crystal report for the first time on vs 2013 asp.net

But the load function is not compile given this error load is not a member of crystalreportDocument

Report.Load(Server.MapPath("Report/CrystalReport.rpt"))
Report.SetDatabaseLogon("", "", "Mosfem", "SCHLDATA")
CrystalReportViewer1.ReportSource = Rpt

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Oct 02, 2020 01:45 AM

Hi olajidemoses,

You need to load the report in ReportDocument.

Refer below article.

Generate Crystal Reports using Strongly Typed DataSet in ASP.Net using C# and VB.Net