I have the following code:
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
rpt.Load(@"C:\MyReport.rpt");
rpt.SetDataSource(myDataSet);
rpt.PrintToPrinter(1,true,1,1);
the problem is that the report print only the data what the report was set at originaly it ignores what's in myDataSet.
How can I force it to use data from myDataSet?