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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        public void CargarReporte()
        {
            VentanaReporte report = new VentanaReporte();
            Report1        cr     = new Report1();

            cr.SetDataSource(filtro());
            report.crystalReportViewer.ReportSource = cr;
            report.crystalReportViewer.Refresh();
            report.Show();
        }