Home All Groups Group Topic Archive Search About

Goldilocks and the Three Stooges

Author
10 Aug 2006 5:11 AM
Earl
I ripped out the connection objects created when I created typed datasets on
two forms. Went thru and cleaned up all the code to give the data adapters
their connection for each of the commands. Did a search for any hardwired
server names or connection strings ... lo and behold, the following 3 files
STILL retained some pretty old data pointing (in one case) to a non-existent
..mdb that I was plucking some data out of and have since redirected, and in
the other case, pointing to my development SQL server. My connections are
all driven from a custom XML file with a class to pull those values out, so
I really really do not want to have those hardwired settings anywhere in the
app.

App.config;
Settings.Settings;
Settings.Designer;

How do I get this crud out of those 3 files without upsetting either the IDE
or my app?

AddThis Social Bookmark Button