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

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo 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();
 }
Ejemplo n.º 3
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     EasyGradeProReport rpt = new EasyGradeProReport();
     rpt.Site = this.Site;
     return rpt;
 }