I am using VB 2010 Express with a Sql Server 2008 Express local database for the first time (Just learning!)
I would like to change the connection string at runtime to point to a different computer on the local network.
I know how to do this for an access mdb file but how do do it for a mdf SQL server file? I would like to change it in the load routine.
The database is currently in: C:\Users\Administrator\AppData\DeiServer\DeiServerDBs.mdf and DeiServer is a shared folder.
I would like to change the connection string at runtime to point to a different computer on the local network.
I know how to do this for an access mdb file but how do do it for a mdf SQL server file? I would like to change it in the load routine.
The database is currently in: C:\Users\Administrator\AppData\DeiServer\DeiServerDBs.mdf and DeiServer is a shared folder.