Configuracon file

0

Good evening, I would like to know if anyone knows how to modify the scope of the variables in VB.net, since the scope of the connection string does not allow me to modify it and at the moment I need it. Thank you

    
asked by lurduy 04.10.2017 в 04:27
source

1 answer

0

Good lurduy,

The configurations of type 'Cadena de conexión' can only be of scope Aplicación in the configuration files, as it says here .

The difference between the 2 Ámbitos ( Aplicación and Usuario ) is that, the configuration variables of type Aplicación , can not be modified at runtime, that is, they will always have the same value, and the user configuration variables can be modified at runtime.

To solve the problem you have (unsafe) you could put the connection strings in variables type String and in this way, yes you can change the Ámbito to type Usuario .

    
answered by 04.10.2017 / 08:46
source