Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
2 Posts
Nov 03, 2009 09:31 AM|LINK
Hello There;
I am trying to view my report files on CrystalReport viewer in ASP.NET programmatically. by using the code blow;
CrystalReportSource reportsource = new CrystalReportSource(); CrystalDecisions.Web.Report report = new CrystalDecisions.Web.Report(); Guid reportid = new Guid(Request.QueryString["GUID"]); string path = Server.MapPath("/Reports/") + dc.Reports.Where(k => k.OID == reportid).First().FileContent; report.FileName = path; reportsource.Report = report; CrystalReportViewer1.ReportSource = reportsource;
regards.
No valid report source is available
mkosucu
0 Points
2 Posts
No valid report source is available
Nov 03, 2009 09:31 AM|LINK
Hello There;
I am trying to view my report files on CrystalReport viewer in ASP.NET programmatically. by using the code blow;
CrystalReportSource reportsource = new CrystalReportSource(); CrystalDecisions.Web.Report report = new CrystalDecisions.Web.Report(); Guid reportid = new Guid(Request.QueryString["GUID"]); string path = Server.MapPath("/Reports/") + dc.Reports.Where(k => k.OID == reportid).First().FileContent; report.FileName = path; reportsource.Report = report; CrystalReportViewer1.ReportSource = reportsource;No valid report source is available