zoukankan
html css js c++ java
用ConfigurationManager读取和修改配置文件
为了方便有时我们会把一些简单的配置的信息放入web.config文件里。
放到appSettings添加key value等信息。
ConfigurationManager.AppSettings["key"]来读取对应key的value.
保存的话。
Configuration cfa = WebConfigurationManager.OpenWebConfiguration("~");
cfa.AppSettings.Settings["IfQQLogin"].Value = Radio_IfQQLogin.SelectedValue;
cfa.AppSettings.Settings["data-appid"].Value =txt_QQOpenID.Text.Trim();
cfa.AppSettings.Settings["data-redirecturi"].Value = txt_QQBackUrl.Text.Trim();
查看全文
相关阅读:
python 中的[::-1]
python 闭包
elastic
文件上传进度条修改
python decorator的理解
同方爬虫--面试题
js typeof
浅谈软件项目实施
数独·唯一性技巧(Uniqueness)-1
数独二
原文地址:https://www.cnblogs.com/chengjun/p/5367566.html
最新文章
zookeeper 安装及一些问题
Flask 资料
redis 库相关命令
cellery ImportError & AttributeError
redis 不能持久化问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
安装redis
mac 显示set a breakpoint in malloc_error_break to debug 终端显示进程已完成怎么办?
mac 启动apache + php
linux chomd 学习
mac 安装 Scrapy
热门文章
mysql5.x(<7) sql文件导入到5.7
mac 安装tomcat
mac pycharm配置 python
new road
tracert命令详解
mac 激活Ultra Edit16
基础排序算法巩固
js 获取iframe中的元素
python 线程学习
redis 安装及相关问题解决
Copyright © 2011-2022 走看看