Re: How to change connection string path at runtime
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 12:42:34 -0400
bwilloughby wrote:
I am trying to change the path to a database that I created using the
VB 2005 wizard.
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic ADO newsgroup. ADO.Net bears
very little resemblance to classic ADO so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.adonet.
I can see this connection string / path contained inhttp://www.eggheadcafe.com/articles/20030907.asp
the app.config file. I have several queries built on this database so
I don't want to create it by hand if I can help it. I know that I can
change the app.config file manually, but I want to allow users to
change this location via the application. Is there any way to change
the path to a wizard created database at runtime?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: How to change connection string path at runtime
- From: bwilloughby
- Re: How to change connection string path at runtime
- References:
- How to change connection string path at runtime
- From: bwilloughby
- How to change connection string path at runtime
- Prev by Date: How to change connection string path at runtime
- Next by Date: Re: How to change connection string path at runtime
- Previous by thread: How to change connection string path at runtime
- Next by thread: Re: How to change connection string path at runtime
- Index(es):
Relevant Pages
|
|