コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport3 rpt = new CrystalReport3();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
 private void print3_Load(object sender, EventArgs e)
 {
     Printing.CrystalReport3 reporte = new CrystalReport3();
     reporte.Database.Tables[0].SetDataSource(Prints.Tables["DataTable1"]);
     crystalReportViewer1.ReportSource = reporte;
     crystalReportViewer1.Refresh();
 }