Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteVentasEmpleados rpt = new ReporteVentasEmpleados();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void CrystalViewerEmpleados_Loaded(object sender, RoutedEventArgs e)
        {
            ReporteVentasEmpleados reporte = new ReporteVentasEmpleados();
            DataSetcubestore       dataset = EmpleadoListBRL.ObtenerListaEmpleadosReporte();


            reporte.Load("../../ReporteVentasEmpleados.rpt");
            reporte.SetDataSource(dataset);
            crystalViewerEmpleados.ViewerCore.ReportSource = reporte;
        }