Hi,
I have added a crystal report in dnn module binding it with a dataset the dataset returns data but the crystalreport viewer to which i have given the reports source does not display the report
This is my code
DataSet ds = new DataSet();
ds = new SqlDataProvider().GetBillDetails(Convert.ToInt32(cobTenants.SelectedItem.Value));
if (ds.Tables[0].Rows.Count > 0)
{
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(@"D:\PreSalesModules\BillingDetails\CrystalReport2.rpt");
reportdocument.SetDataSource(ds);
CrystalReportViewer1.ReportSource = reportdocument;
CrystalReportViewer1.DataBind();
}
Can some one help me with this please... I have to display the report and export to PDF