MSDN中关于读取web.config的那块,System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString
Posted on 2008-01-30 13:20 南岗V哥 阅读(1406) 评论(0) 编辑 收藏 举报
直接取应该这样写
System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString
System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString