I am pretty new to Crystal Reports. I have an ASP.NET form that shows a Crystal Reports XI form. I used an XML file of the actual database schema durring the development of the Report document. At run time, from code, I pass the report data dynamically in a .NET DataSource to give it the data. When I execute the code, the viewer shows the correct information in the web site. However, when I go to print it, it will only print out the original data that I used (weeks ago) to create the report. That data doesn't even exist in the database anymore. It's like the report saved the original XML data in itself, and even though I pass it new data, it still uses the old data it got from the XML file instead of using the datasource I pass it. But once again, ihe viewer shows the correct data...it just prints the old stuff....I don't get it... PLEASE HELP!!
Attached is i how I load the report!
DataSet invoiceDataDS = DataAccess.GetInvoiceData(12);
CrystalReportViewer1.ReportSource = CrystalReportSource1;
CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.Pdf;
CrystalReportViewer1.DisplayGroupTree = false;