private void Carga_Editar() { try { WSGestion.WSGestion wsgest = new WSGestion.WSGestion(); wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs"); WSGestion.MOD_Estado_Usuario obj = new WSGestion.MOD_Estado_Usuario(); obj = wsgest.SEL_GRID_BY_ID_Estado_Usuario(codigo_seleccionado); txt_nombre.Value = obj.ESTUSU_nombre; txt_codigo.Value = obj.ESTUSU_id_estado_usuario.ToString(); } catch (Exception exc) { WSGestion.WSGestion wsgest = new WSGestion.WSGestion(); wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs"); Session[wsgest.Get_usu_id_session(Session.SessionID.ToString())+"Codigo_Select"] = "0"; Alert_Mensaje.Attributes["class"] = "alert alert-danger"; mensaje_alerta = exc.ToString(); titulo_mensaje_alerta = "Error: "; Alert_Mensaje.Visible = true; } }