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

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

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2021-12-02
  • 2021-10-24
  • 2022-02-16
相关资源
相似解决方案