Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using different servers without picking from options
Versions des environnements
I'm connecting to two different SQL Servers, one local and one on our company network. I have set them up in the app.config file, and when I choose Options, the form appears and I can pick either one. This works all right.
However, what I want to do is to default to my local SQL Server, and just change a variable in Main.vb or somewhere that will set the server without having to choose anything from the Options form. In other words, I want to not choose the UserOptions form.
Is there a variable somewhere that I can use to set the server?
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement