- 博客(1)
- 收藏
- 关注
转载 asp.net读取Web.config的<appSettings></appSettings>
这个就和读取xml是一样的, 你使用vs编程的话,添加了,configurationMangeer引用以后,就可以直接操作webconfig.这个文件了,而不需要像读取xml一样,写路径什么的 string siteName = ConfigurationManager.AppSettings["SiteName"]; 同理: string siteTitle = Configur
2014-11-25 20:39:30 477
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人