Application settings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I use the data source window to connect to a database.
Because the location of the database might vary, I want to change the
connectionstring at runtime via my.settings.... but this is an application
setting which can't be changed at runtime.
I know how to accomplish a connectionstring in code, but then I would lose
the advantages of the central data source window.
Do you have a solution for this situation?

Many thanks in advance.
 
In the 1.1 framework, you can't fiddle with app.config or web.config. But
you can use an XML file of your own (or other type of file) to store it in,
or you can use IsolatedStorage. Will either approach work for you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top