asp.net中的appsettings [英] appsettings in asp.net

查看:329
本文介绍了asp.net中的appsettings的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在应用程序设置中存储连接字符串吗?如何从appsettings中访问连接字符串.

can we store connectionstrings in appsettings. How can i access connection string from appsettings.

推荐答案

http://odetocode.com/code/345.aspx [
http://www.connectionstrings.com/Articles/Show/store-connection-string-in-web-config[^]
http://odetocode.com/code/345.aspx[^]


这篇关于asp.net中的appsettings的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆