开发者

How do I store and retrieve connection strings from my web.config file in ASP.Net?

开发者 https://www.devze.com 2022-12-09 02:51 出处:网络
How to store and retrieve connection string f开发者_高级运维rom web.config file in ASP.Net ?using System.Configuration;

How to store and retrieve connection string f开发者_高级运维rom web.config file in ASP.Net ?


using System.Configuration;

ConnStr = ConfigurationManager.ConnectionStrings["some Key"].ToString();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号