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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        public void cargarReporte()
        {
            corte.Connection = con;
            corte.Fill(ds.Corte, dtp.Value);

            switch (cb_tipo.SelectedIndex)
            {
            case 0:    //Texto
                reporte = new crCorte();
                reporte.SetDataSource(ds);
                crv.ReportSource = reporte;
                break;

            case 1:    //Grafica
                reporteg = new crCorteG();
                reporteg.SetDataSource(ds);
                crv.ReportSource = reporteg;
                break;

            case 2:    //Ambos
                reportea = new crCorteA();
                reportea.SetDataSource(ds);
                crv.ReportSource = reportea;
                break;
            }
        }
Beispiel #3
0
        public void cargarReporte()
        {
            corte.Connection = con;
            corte.Fill(ds.Corte, dtp.Value);

            switch (cb_tipo.SelectedIndex)
            {
                case 0://Texto
                    reporte = new crCorte();
                    reporte.SetDataSource(ds);
                    crv.ReportSource = reporte;
                    break;
                case 1://Grafica
                    reporteg = new crCorteG();
                    reporteg.SetDataSource(ds);
                    crv.ReportSource = reporteg;
                    break;
                case 2://Ambos
                    reportea = new crCorteA();
                    reportea.SetDataSource(ds);
                    crv.ReportSource = reportea;
               break;
            }
        }
Beispiel #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     crCorteA rpt = new crCorteA();
     rpt.Site = this.Site;
     return rpt;
 }