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