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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //reporte de inconsistencias
            rptInconsistencias reporte = new rptInconsistencias();

            reporte.SetDataSource(datos);
            frmReporte mostrador = new frmReporte(reporte);

            mostrador.ShowDialog();
        }