string condetion = System.Web.Configuration.WebConfigurationManager.AppSettings["condetion"]; string appPath = System.Web.Configuration.WebConfigurationManager.AppSettings["appPath"];
c# 读取appconfig文件
原文:http://www.cnblogs.com/houzf/p/5740343.html