Пример #1
0
 protected void btnHabilitadoPressed(object sender, EventArgs e)
 {
     try
     {
         clienteActual = cliLog.GetOne(txtUsuario.Text);
         try
         {
             cliLog.CambiarEstado(clienteActual, "Habilitado");
             dgvUsuarios.DataBind();
             txtEstado.Text = "Habilitado";
         } catch (Exception)
         {
             throw;
         }
     } catch (Exception)
     {
         throw;
     }
 }