Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prompting a user for SQLserver connection info.
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Prompting a user for SQLserver connection info.
Divers
Thread ID:
00943417
Message ID:
00943417
Vues:
62
As part of my new product, I want to have the user enter a SQL userId and a SQL password and a server, so I can write these keys to the app.config file.

But I would like to test the connection first. Is there a way in MM to do this fast versus going the MS way of creating a connection string and trying to open a connection.

What I would really like is to have a user enter this info and then I try the connection if it fails tell the user the info supplied doesn't work.
If it passes write the keys to the file encrypted of course.

TIA
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform