I am writing a component like dropdownlist whose content should be read from
xml,and i put the path of the xml file into the web.config fallow as
---------------------------------------------------------------------------------------
<configuratio n>
<appSettings>
<add key="LocalizedC ountryFileDirec tory" value="D:\Locat ion" />
</appSettings>
</configuration
---------------------------------------------------------------------------------------
and i read it in this way:
=============== =============== ==============
String filePath =
ConfigurationSe ttings.AppSetti ngs["LocalizedCount ryFileDirectory "];
=============== =============== =============== ==
But it sames not to work, can u give me some suggestion to make it work , or
give me some other way to the the path. your answer will be appreciated.
thanx !
xml,and i put the path of the xml file into the web.config fallow as
---------------------------------------------------------------------------------------
<configuratio n>
<appSettings>
<add key="LocalizedC ountryFileDirec tory" value="D:\Locat ion" />
</appSettings>
</configuration
---------------------------------------------------------------------------------------
and i read it in this way:
=============== =============== ==============
String filePath =
ConfigurationSe ttings.AppSetti ngs["LocalizedCount ryFileDirectory "];
=============== =============== =============== ==
But it sames not to work, can u give me some suggestion to make it work , or
give me some other way to the the path. your answer will be appreciated.
thanx !
Comment