Hi,
CR create a new class per report, you can instantiate this class and assing
the dataset you created to it, note that the schema should be the same .
Here is a piece of code that does just that:
DataSet ds = dbm.GetPPCDelay sBetweenDates(f romDate, toDate); //populate the
DS
CrystalDecision s.CrystalReport s.Engine.Report Document theReportDoc = new
PPCSyncDelay_Re port(); // PPCSyncDelay is the name of my report
theReportDoc.Se tDataSource(ds) ; //set the datasource of the report
//Set the viewer
CrystalReportVi ewer1.ReportSou rce = theReportDoc;
CrystalReportVi ewer1.DataBind( );
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"krunom" <kr****@hotmail .com> wrote in message
news:e1******** **@news1.carnet .hr...
Hi,
i am a newby in Crystal Reports design, and i wrote a c# windows form
application that creates a DataSet.
And, now i want to pass this DataSet to CrystalReport (via DataSource?)
and i do not know how to display this DataSet in my Crystal Report :(
Please, help.