Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptGroup rpt = new rptGroup();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void btnGroup_Click(object sender, EventArgs e)
        {
            rptGroup  doc = new rptGroup();
            DataTable dt  = DBMaker.学生成绩表();

            doc.SetDataSource(dt);
            crystalReportViewer1.ReportSource = doc;
        }
 private void btnGroup_Click(object sender, EventArgs e)
 {
     rptGroup doc = new rptGroup();
     DataTable dt = DBMaker.学生成绩表();
     doc.SetDataSource(dt);
     crystalReportViewer1.ReportSource = doc;
 }
Beispiel #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptGroup rpt = new rptGroup();
     rpt.Site = this.Site;
     return rpt;
 }