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 Saini125 reputationPosted Oct 12, 2015, 12:19 AM EDT
Ajay Saini125 reputationPosted Sep 22, 2015, 2:48 AM EDT
Miraj Ahmad19 reputationPosted Oct 11, 2015, 2:09 AM EDT
Miraj Ahmad19 reputationPosted Oct 12, 2015, 3:57 AM EDT