protected void btnActivar_Click(object sender, ImageClickEventArgs e) { UsuarioBL oUsuarioBL = new UsuarioBL(); UsuarioBE oUsuarioBE = new UsuarioBE(); oUsuarioBL.ErrorEvent += new UsuarioBL.ErrorDelegate((Master as Seguridad).Transaction_ErrorEvent); Int32 retorno = 0, contador; String cadNidPuntoVenta = this.txhCadenaSelNum.Value.Trim(); String[] arrCodigos = this.txhCadenaSelNum.Value.Trim().Split('|'); contador = arrCodigos.Length - 2; oUsuarioBE.CO_USUARIO_CREA = Profile.Usuario.CUSR_ID; oUsuarioBE.NO_ESTACION_RED = Profile.Estacion; oUsuarioBE.NO_USUARIO_RED = Profile.UsuarioRed; retorno = oUsuarioBL.ActivarUsuarioMasivo(oUsuarioBE, cadNidPuntoVenta, contador); if (retorno > 0) { JavaScriptHelper.Alert(this, Message.keyActivo, String.Empty); btnBuscar_Click(null, null); this.txhUsuarioID.Value = String.Empty; } else { JavaScriptHelper.Alert(this, Message.keyNoElimino, String.Empty); this.txhUsuarioID.Value = String.Empty; } }