How To Get Connection Strings From web.config

In c# it’s quite easy to get a connection string from web.config at run-time without having to manually parse the xml with the aid of the System.Configuration library. First you need a reference to the System.Configuration library – you add the reference via the “Add Reference” feature of your project and you then include the …

Continue reading