Connection String Machine Independent.
From: Manny (mcanasc_at_hotmail.com)
Date: 12/04/04
- Next message: Dave Fancher: "Re: Connection String Machine Independent."
- Previous message: David Browne: "Re: Adding columns to SQL Server tables dynamically"
- Next in thread: Dave Fancher: "Re: Connection String Machine Independent."
- Reply: Dave Fancher: "Re: Connection String Machine Independent."
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 4 Dec 2004 16:08:57 -0700
Hi there,
I've been researching on the diferent newsgroups to find out how to do this,
but no luck so far.
I'm developing a client/server windows application with VB.NET, MSDE is my
backend database.
This is sample connection string to connect to my server:
data source=MACHINE_NAME\MSDE; initial catalog=DatabaseName; user
ID=sa;password=sa
Now, when I distribute this application, the Server will have to be
installed in one machine in the LAN, now the connection string it's
hardcoded right now to look for a specific machine name and the instance
name.
So, how can I build, if it's possible, the connection string machine
independent?
Thanks very much,
Manny
- Next message: Dave Fancher: "Re: Connection String Machine Independent."
- Previous message: David Browne: "Re: Adding columns to SQL Server tables dynamically"
- Next in thread: Dave Fancher: "Re: Connection String Machine Independent."
- Reply: Dave Fancher: "Re: Connection String Machine Independent."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|