in addition to Cor`s comment
it is still possible to dynamicly load a sql server database file
even better i once released an app that read a sql server database from a
DVD even that is possible
just as with an MDB database file, when you are using the file-based
approach you can include a path to the physical file in the connection
string for the new AttachDBFileName parameter:
Dim ConnStr as string = "Data Source=.\SQLExpress; Initial Catalog=;
Integrated Security=true; AttachDBFileName="X:\MyDb.mdf "
Connecting with this connection string causes the file MyDb.mdf to be
automatically attached to the SQLExpress instance. When the application
ends, it will automatically be detached and therefore not locked and
available for copying.
ps. my favorite refernce is
http://www.carlprothman.net however i liked his website more in the
able-consulting days ( looked nicer to me )
regards
Michel Posseth [MCP]
Cor Ligthert said:
Art,
If you have a database as MS-Access file than your DataBase is accessable
with its file name.
If you have a databaseserver as SQLServer than the database is accessable
by its servername or IP address.
This is a major difference between using (connecting to) databases.
This page probably is referenced the most times in these dotNet newsgroups
http://www.connectionstrings.com/
However, there is as well the very good
http://www.carlprothman.net/Default.aspx?tabid=81
I hope this helps a little bit?
Cor