When i create CrystalReport file only .rpt file is creating and .cs file is not creating at all. so i am unable to take an instance of the crystalReport class and then assign the dataset to it and then display.
the second simple code i tried to just display the report but didnot worked
Report.Load(Server.MapPath("Reports/CrystalReport1.rpt"));
Report.SetDatabaseLogon("sa", "12345", "khan-pc", "testDB");
CrystalReportViewer1.ReportSource = Report;
Report.SetDatabaseLogon("sa", "12345", "khan-pc", "testDB");
CrystalReportViewer1.ReportSource = Report;
Ajay SainiPosted Oct 12, 2015, 4:19 AM
Miraj AhmadPosted Oct 12, 2015, 7:57 AM
Miraj AhmadPosted Oct 11, 2015, 6:09 AM
Ajay SainiPosted Sep 22, 2015, 6:48 AM