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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        public static void ImpresionDeAsistencia(DataSet fuente, DateTime fecha)
        {
            CRTablaAsistencia reporte = new CRTablaAsistencia();

            reporte.SetDataSource(fuente);
            reporte.SetParameterValue(reporte.Parameter_anio.ParameterFieldName, fecha.Year);
            reporte.SetParameterValue(reporte.Parameter_mes.ParameterFieldName, fecha.Month);
            reporte.SetParameterValue(reporte.Parameter_Fecha.ParameterFieldName, fecha);
            FrmReportes visor = new FrmReportes(reporte);

            visor.ShowDialog();
        }
Example #3
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CRTablaAsistencia rpt = new CRTablaAsistencia();
     rpt.Site = this.Site;
     return rpt;
 }
Example #4
0
 public static void ImpresionDeAsistencia(DataSet fuente, DateTime fecha)
 {
     CRTablaAsistencia reporte = new CRTablaAsistencia();
     reporte.SetDataSource(fuente);
     reporte.SetParameterValue(reporte.Parameter_anio.ParameterFieldName, fecha.Year);
     reporte.SetParameterValue(reporte.Parameter_mes.ParameterFieldName, fecha.Month);
     reporte.SetParameterValue(reporte.Parameter_Fecha.ParameterFieldName, fecha);
     FrmReportes visor = new FrmReportes(reporte);
     visor.ShowDialog();
 }