Web.config文件内配置如下:
读取Web.config内的配置数据<appSettings>
读取Web.config内的配置数据  
<add key="key" value="value"/>
读取Web.config内的配置数据  
</appSettings>

读取代码:
读取Web.config内的配置数据ConfigurationSettings.AppSettings["key"]

相关文章: