Nov 02, 2017 06:53 PM|msdevm|LINK
I am trying to accomplish the following using the web.config and my own name conventional settings,
for instance (I would like to add the web.config the following)
<add group="store1" value="Bronx" />
<add group="store2" value="Brooklyn" />
<add group="store3" value="Manhattan" />
I would like to know how read the above mentioned and store them into an array or <lists> for validation purpose
if array has the value equal to the store location found in database table then allow it. (data retrieval is no problem)
Could the above mentioned be possible and could you please provide c# sample code on how to.
I know how to read the value from the web.config using the ConfigurationManager.AppSettings[SettingName] but in the case above I am trying to use my own tags;
hope the above mentioned is understandable.