Пример #1
0
        public DataTable verTipo()
        {
            DataTable           dt  = new DataTable();
            tipo_cargamento_DAL tip = new tipo_cargamento_DAL();

            dt = tip.verTipos();
            return(dt);
        }
Пример #2
0
 public void deleteTipo(tipo_cargamento_Entity tip)
 {
     try
     {
         tipo_cargamento_DAL tipo = new tipo_cargamento_DAL();
         tipo.deletetipos(tip);
     }
     catch (Exception ex)
     {
         String error = ex.ToString();
     }
 }
Пример #3
0
 public void insertTipo(tipo_cargamento_Entity tip)
 {
     try
     {
         tipo_cargamento_DAL tipo = new tipo_cargamento_DAL();
         tipo.inserttipocargamento(tip);
     }
     catch (Exception ex)
     {
         String error = ex.ToString();
     }
 }