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;