P*s
5 楼
Thank you for all your replies. I am using the
"ConfigurationSettings.GetConfig" or
"ConfigurationSettings.AppSettings"
method to read the configurations in .config file. But I can't find a write or
set method available in System.Configuration namespace.
Could anyone point me to the right place please? A simple example code block
would be even better.
BOW//
or
【在 st 的大作中提到】
: actually I wanted to say if your app doesnot check change and reload,
: it wont know the content of the config has changed.
"ConfigurationSettings.GetConfig" or
"ConfigurationSettings.AppSettings"
method to read the configurations in .config file. But I can't find a write or
set method available in System.Configuration namespace.
Could anyone point me to the right place please? A simple example code block
would be even better.
BOW//
or
【在 st 的大作中提到】
: actually I wanted to say if your app doesnot check change and reload,
: it wont know the content of the config has changed.
st
6 楼
it's xml file, load it and change it as xml document bah
【在 P********s 的大作中提到】
: Thank you for all your replies. I am using the
: "ConfigurationSettings.GetConfig" or
: "ConfigurationSettings.AppSettings"
: method to read the configurations in .config file. But I can't find a write or
: set method available in System.Configuration namespace.
: Could anyone point me to the right place please? A simple example code block
: would be even better.
: BOW//
:
: or
【在 P********s 的大作中提到】
: Thank you for all your replies. I am using the
: "ConfigurationSettings.GetConfig" or
: "ConfigurationSettings.AppSettings"
: method to read the configurations in .config file. But I can't find a write or
: set method available in System.Configuration namespace.
: Could anyone point me to the right place please? A simple example code block
: would be even better.
: BOW//
:
: or
e*s
10 楼
or
what version of .Net are you running?
framework 1.0 and 1.1 are pretty lame.....use .Net 2.0 and Widbey
instead...you can write/update/
dynamically add sections to the .config pretty easily :)
【在 P********s 的大作中提到】
: Thank you for all your replies. I am using the
: "ConfigurationSettings.GetConfig" or
: "ConfigurationSettings.AppSettings"
: method to read the configurations in .config file. But I can't find a write or
: set method available in System.Configuration namespace.
: Could anyone point me to the right place please? A simple example code block
: would be even better.
: BOW//
:
: or
P*s
11 楼
Yes, I am using 1.1. So sounds like such functionality will be provided in
2.0. I will take a look at the 2.0 docs. Thanks for the information.
Unfortunately, .NET 2.0 still in Beta. Beta for evaluation is okay, but I
don't think using beta for production is a good idea.
write
block
【在 e*********s 的大作中提到】
:
: or
: what version of .Net are you running?
: framework 1.0 and 1.1 are pretty lame.....use .Net 2.0 and Widbey
: instead...you can write/update/
: dynamically add sections to the .config pretty easily :)
2.0. I will take a look at the 2.0 docs. Thanks for the information.
Unfortunately, .NET 2.0 still in Beta. Beta for evaluation is okay, but I
don't think using beta for production is a good idea.
write
block
【在 e*********s 的大作中提到】
:
: or
: what version of .Net are you running?
: framework 1.0 and 1.1 are pretty lame.....use .Net 2.0 and Widbey
: instead...you can write/update/
: dynamically add sections to the .config pretty easily :)
相关阅读
C# for C++, Java, VB Programmersdotnet template engine.Net IDE.Net remoting usage and performance.away呢?.Net search engine转载 borland的eco真的很酷有人用.NET做PORTAL么?Windows, freeBSD, Mac OS X support CLIBeOS support C#来个问题吧 Created a group on YahooPalm OS 6 will support .Net如何实现类似Windows Update的功能?using weather XML feed in C#[转载] 提名LodossWar, away 为DotNET版副Mono status 链接 Re: .NET 和现在的J2EE相比一个问题The best C# book?.NET 入门系列(2)--Web Services,XML,SOAP