Posted By

jink on 05/04/09


sql String aspnet webconfig

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Barlon Retrieve connection string from web.config

 / Published in: ASP

Replace SERVERNAME with the name of the server name in the web.config

  1. WebConfigurationManager.ConnectionStrings["SERVERNAME"].ConnectionString;

Report this snippet  

You need to login to post a comment.