M
malikasad
Guest
Hi Friends,
Please help me as I am trying to call crystal report from visual studio 2017 on computer where visual studio installed its calling crystal reports and working fine but when I am running the same from another computer its give me report load error I checked crystal report available in given path please help me me code given below. thank you

dview cc = new dview();
ReportDocument cryRpt;
cryRpt = new ReportDocument();
cryRpt.Load(@"C:\\Users\\administrator\\Desktop\\dailyincomeInterface\\bin\\Debug\\iprefund.rpt");
cryRpt.SetDataSource(dt);
cc.crystalReportViewer1.ReportSource = cryRpt;
cc.crystalReportViewer1.Refresh();
cc.ShowDialog();
asad
Continue reading...
Please help me as I am trying to call crystal report from visual studio 2017 on computer where visual studio installed its calling crystal reports and working fine but when I am running the same from another computer its give me report load error I checked crystal report available in given path please help me me code given below. thank you

dview cc = new dview();
ReportDocument cryRpt;
cryRpt = new ReportDocument();
cryRpt.Load(@"C:\\Users\\administrator\\Desktop\\dailyincomeInterface\\bin\\Debug\\iprefund.rpt");
cryRpt.SetDataSource(dt);
cc.crystalReportViewer1.ReportSource = cryRpt;
cc.crystalReportViewer1.Refresh();
cc.ShowDialog();
asad
Continue reading...