ASP.NET DB Connection String is in DLL file

OK. OK I am trying to help a friend out here and I am not real familiar with asp.net. I still do most of my webpages in asp.

some of the pages use a connection string to pull data from a database. My problem is that I found the connection string in a DLL file that is located in the BIN folder. Is there a way to edit this? I do not have any source code from the original developer and they are now out of business.

What are my opinions? I have used Reflector to view the inside of the file and its seems that the only thing this file does is a DB connection. I exported the files to a directory and it created a *.csproj file with a couple other files. I am assuming this is the decompiled source code.... Am I right? What do I do with it from here? I know I need to change the one file that has the connection string but after I do that do I have to recompile? If so how do I do that?
LVL 3
jsuttorAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DhaestConnect With a Mentor Commented:
Create a project with all the classes, ... that you see in the .net reflector.
Then you can change the code you need and compile it
0
 
DhaestCommented:
Take a look at .NET Reflector: http://www.aisto.com/roeder/dotnet/

With this tool, you can generate (or create) all the classes, function, ...
If you do so, then you'll have all the code and you can change, compile as much as you like
0
 
jsuttorAuthor Commented:
Ok got that part. Not really a vb programmer or any other type of programmer so I am not sure about the process here. I have .Net Reflector and I have exported everything as I stated above but not sure what to do now.

0
All Courses

From novice to tech pro — start learning today.