private void _CargarDetalle()
        {
            var BL = new tb_cm_conceptoBL();
            var BE = new tb_cm_conceptos();
            BE.filtro = "1";
            TablaDetalleImportacion = BL.GetAll(EmpresaID, BE).Tables[0];

            if (TablaDetalleImportacion.Rows.Count > 0)
            {
                dgb_importacion2.DataSource = TablaDetalleImportacion;
            }
        }
        private void TableLoadRowLock()
        {
            var BE = new tb_cm_conceptos();
            var BL = new tb_cm_conceptoBL();
            BE.filtro = "2";

            if (Tablabloqueo != null)
            {
                Tablabloqueo.Clear();
            }

            Tablabloqueo = BL.Upload_row(EmpresaID, BE).Tables[0];
        }
 //public String GetNextCod(string empresaid, tb_cm_conceptos BE)
 //{
 //    return tablaDA.GetNextCod(empresaid, BE);
 //}
 //public DataSet GetAll_direc(string empresaid, tb_cm_conceptos BE)
 //{
 //    return tablaDA.GetAll_direc(empresaid, BE);
 //}
 public DataSet Upload_row(string empresaid, tb_cm_conceptos BE)
 {
     return tablaDA.Upload_row(empresaid, BE);
 }
 public bool Update(string empresaid, tb_cm_conceptos BE)
 {
     return tablaDA.Update(empresaid, BE);
 }
 public bool Insert(string empresaid, tb_cm_conceptos BE)
 {
     return tablaDA.Insert(empresaid, BE);
 }
 public DataSet GetAll(string empresaid, tb_cm_conceptos BE)
 {
     return tablaDA.GetAll(empresaid, BE);
 }