G
Guest
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
---------------------------------------------------------------------------------------
<configuration>
<appSettings>
<add key="LocalizedCountryFileDirectory" value="D:\Location" />
</appSettings>
</configuration
---------------------------------------------------------------------------------------
and i read it in this way:
============================================
String filePath =
ConfigurationSettings.AppSettings["LocalizedCountryFileDirectory"];
===============================================
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
---------------------------------------------------------------------------------------
<configuration>
<appSettings>
<add key="LocalizedCountryFileDirectory" value="D:\Location" />
</appSettings>
</configuration
---------------------------------------------------------------------------------------
and i read it in this way:
============================================
String filePath =
ConfigurationSettings.AppSettings["LocalizedCountryFileDirectory"];
===============================================
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 !