首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

怎么修改<appSettings file="aaa.xml" >引用的外部文件的配置值

2012-01-12 
如何修改appSettings fileaaa.xml引用的外部文件的配置值。appSettingsfile aaa.config /appSet

如何修改<appSettings file="aaa.xml" >引用的外部文件的配置值。
<appSettings   file= "aaa.config "     >
</appSettings   >

aaa.config内容如下
<?xml   version= "1.0 "   encoding= "utf-8 "   ?>
<appSettings>
<add   key= "Application1 "   value= "MyApplication1 "   />
<add   key= "Setting1 "   value= "MySetting "   />
</appSettings>


我用ConfigurationManager   .AppSettings[ "Application1 "]= "new   seting ";
这个修改只会反映到主配置文件中,也就是web.config中,而不会更改到
aaa.config中,请问如何改aaa.config中的值,?


[解决办法]
没想过 顶

热点排行