Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCross rpt = new rptCross();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void btnCross_Click(object sender, EventArgs e)
        {
            rptCross  doc = new rptCross();
            DataTable dt  = DBMaker.学生成绩表();

            doc.SetDataSource(dt);
            crystalReportViewer1.ReportSource = doc;
        }
Пример #3
0
 private void btnCross_Click(object sender, EventArgs e)
 {
     rptCross doc = new rptCross();
     DataTable dt = DBMaker.学生成绩表();
     doc.SetDataSource(dt);
     crystalReportViewer1.ReportSource = doc;
 }
Пример #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptCross rpt = new rptCross();
     rpt.Site = this.Site;
     return rpt;
 }