public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CRTablaAsistencia rpt = new CRTablaAsistencia(); rpt.Site = this.Site; return(rpt); }
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(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CRTablaAsistencia rpt = new CRTablaAsistencia(); rpt.Site = this.Site; return rpt; }
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(); }