Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching Dataset backends quickly
Message
De
25/07/2007 08:31:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Switching Dataset backends quickly
Versions des environnements
Environment:
VB 8.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01243434
Message ID:
01243434
Vues:
73
Whenever I bring programs written at home into the office, I have to change the backend database used by the Datasets. The problem I have is that it takes such a long time, about 3-5 minutes using the Configure command which I assume is because Visual Studio is looking for the home database, and it has to be done for each table in the Dataset. Is there a quicker way of doing it, like changing a connection string somewhere?

I also have to delete and re-created any parameterized queries defined for the tables, but that doesn't take very long though I'd rather not have to do that either.

Thanks for any tips you may have,
David.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform