public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport3 rpt = new CrystalReport3();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 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();
 }