Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

No Valid report source is available

$
0
0

Been trying all day to get this report done programmatically, it will work once i dynamically create it but when i try to code it it gives me the error, "No valid report source is available".

This is my code
protected void cmdShorReport_Click(object sender, EventArgs e)
{
     ReportDocument Report = new ReportDocument();
     Report.Load("C:\\Report.rpt");
     crvReports.ReportSource = Report;
     crvReports.RefreshReport();
}

I downloaded the latest version of  sap crystal reports for vs2010. For the life of me i cant get this thing working programmatically.

Help plz!

:'( 


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>