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!
:'(