c# dataset and crystal reports

a_n_d_y

New Member
I am trying to use crystal reports on project I've been working on. I don't have too much experience with crystal reports but from what I was able to search through google I've done this chunk of code so far:The markup:\[code\] <CR:CrystalReportViewer ID="crViewerReports" Visible="true" runat="server" AutoDataBind="true" ReportSourceID="crs" /> <CR:CrystalReportSource ID="crs" runat="server" > <Report FileName="MyReport.rpt"> </Report> </CR:CrystalReportSource>\[/code\]Code: \[code\] DataSet ds = new DataSet(); ds = util.getReportDataSet(DateTime.Now.AddYears(-5), DateTime.Now, 100,4, null); // *** NEXT STEPS *** //\[/code\]Just fyi the crystal reports file is from other application and is working properly I just need to fetch the dataset. I would really appreciate if someone can help me with this issue. Thanks in advance, Laziale
 
Back
Top