Question Changing server behind DataSet

TCW78

New member
Joined
Oct 22, 2008
Messages
4
Programming Experience
1-3
I have an application that uses a database, I have my dataset with different tables and methods for each tables.

The current server where the tables are is to be closed in the next weeks, my question is simple : is there a way to tell VB.Net that my tables are on server X instead of server Y without having to delete all tables in my dataset and recreating them and all their methods?

Thanks
 
Found it!

Got to change the connection strings in the app.settings and the settings.settings files. Way lot faster than having to delete all tables and add those of the new server. :D
 
nice find, different to my method and probably better because it's less likely the developer will screw up the dataset ;)
 

Latest posts

Back
Top