web.config读取常量

string 变量名=System.Configuration.ConfigurationSettings.AppSettings["变量名"];

原文地址:https://www.cnblogs.com/Liao/p/2158360.html