读取webconfit appsetings的值
来源:互联网 发布:ipad air2蜂窝数据 编辑:程序博客网 时间:2024/06/05 15:31
1.在项目的引用添加:System.Configuration
2.添加命名空间:using System.Configuration;
3.读取值: serverRootPath=ConfigurationManager.AppSettings["StandardLibrary"]
<appSettings>
<!--<add key="rootPath" value="d:/fileServer/"/>-->
<!--<add key="rootPath" value="//10.1.30.19/d$/fileServer/"/>-->
<add key="StandardLibrary" value="//10.1.455.5/Software"/>
</appSettings>
- 读取webconfit appsetings的值
- Registry 值的读取
- 读取seekbar的值
- 读取寄存器的值
- javascript读取表单的值
- 读取存储过程的值
- 读取xml节点的值
- 读取资源文件的值
- js读取GridView的值
- ant 读取环境变量的值
- eclipse 读取键盘输入的值
- 读取单元格里面的值
- 读取图像的像素值
- 读取相册的方向值
- python 读取配置文件的值
- ant 读取环境变量的值
- 读取颜色的RGB值
- 读取角色的血值
- showModelessDialog兼容firefox和ie
- 早该知道的7个JavaScript技巧
- iphone利用md5加密代码
- 详细解析Java中抽象类和接口的区别
- WLAN与VOIP
- 读取webconfit appsetings的值
- 触发器和约束的关系和区别
- Iphone在table cell中添加自定义布局view
- JAVA IO系列----ObjectInputStream和ObjectOutputStream类
- 超时时间已到。 数据库连接超时
- Iphone实现标题栏网络加载图标的显示和取消
- H3C MSR 5040 线路自动切换
- 项目思考
- 关于Intel MKL 特征值分解 dsyevr 的说明