Last post Sep 22, 2010 10:37 AM by ajayg
Mar 26, 2010 06:01 AM|fsf86|LINK
I used push method with my crystal report. I used a dataset which on page load loads 2 seperate datatables and are added to it. Everything works fine. But if the Milestones Datatable is empty, the crystal report shows none of the data related to the Projects
Datatable, as if the table is empty. The Select Method of the business logic layer objects uses querystrings of the name ProjectNo. Below is a sample code.
protected void Page_Load(object sender, EventArgs e)
ReportDocument rpt = new ReportDocument();
string _reportPath = Server.MapPath("ProjectsReport.rpt");
CrystalReportViewer1.ReportSource = rpt;
What can be causing such a problem?
Crystal report C# asp.net Dataset Datatable push method
Sep 22, 2010 10:37 AM|ajayg|LINK
It appears that in the report- your Milestones datatable acts as the master table and the Projects table refers to the Milestone table. If Milestone does have entries, the join condition in the report is not able to pull data.
Check your linking query.
Hope this helps out.