Example #1
0
 public void Insert(CapaEntidad.Estructura.Planilla pDatos)
 {
     CapaDatos.Planilla vDatos = new CapaDatos.Planilla();
     try
     {
         vDatos.Insert(pDatos);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message, ex);
     }
 }
Example #2
0
        public DataTable LeerExcel(string filename, string sheetName)
        {
            DataTable dtResultado = new DataTable();

            CapaDatos.Planilla vDatos = new CapaDatos.Planilla();
            try
            {
                dtResultado = vDatos.LeerExcel(filename, sheetName);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }
            return(dtResultado);
        }
Example #3
0
        public DataTable LeerPlanilla(int pIdCredito)
        {
            DataTable dtResultado = new DataTable();

            CapaDatos.Planilla vDatos = new CapaDatos.Planilla();
            try
            {
                dtResultado = vDatos.LeerPlanilla(pIdCredito);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }
            return(dtResultado);
        }