Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using different servers without picking from options
Message
De
30/06/2005 19:44:38
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using different servers without picking from options
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
MS SQL Server
Divers
Thread ID:
01027971
Message ID:
01027971
Vues:
84
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
Fil
Voir

Click here to load this message in the networking platform