Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            EasyGradeProReport rpt = new EasyGradeProReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
 public void loadEasyGradeProReport(List<Customer> students)
 {
     EasyGradeProReport rpt = new EasyGradeProReport();
     DataSetStudents ds = new DataSetStudents();
     foreach (Customer c in students)
     {
         DataRow cRow = ds.Student.NewRow();
         cRow["CustomerID"] = c.CustomerID;
         cRow["CustomerName"] = c.CustomerName;
         cRow["FirstName"] = c.FirstName;
         cRow["LastName"] = c.LastName;
         cRow["Gender"] = c.Gender;
         cRow["EmailAddress"] = c.EmailAddress;
         cRow["Level"] = c.Level;
         cRow["Section"] = c.Section;
         ds.Student.Rows.Add(cRow);
     }
     rpt.SetDataSource(ds);
     crystalReportViewer1.ReportSource = rpt;
     crystalReportViewer1.Refresh();
 }
Esempio n. 3
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     EasyGradeProReport rpt = new EasyGradeProReport();
     rpt.Site = this.Site;
     return rpt;
 }