Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CryOrdenFinalizada rpt = new CryOrdenFinalizada();

            rpt.Site = this.Site;
            return(rpt);
        }
 private void cargar()
 {
     try
     {
         CryOrdenFinalizada cry = new CryOrdenFinalizada();
         cry.SetDataSource(BllOrden.cargarInformeOrdenFinalizada(dtDia.Value));
         this.reporte.ReportSource = cry;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error de transación", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }