read user section from config file to drop down list

A

Antonio

Hello, in my web.config file I have

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="a" value="aaa" />
<add key="b" value="bbb" />
</appSettings>
<system.web>
....


I want to display in a drop down the key data. How do I loop through
the appSettings key and use that ultimately in a drop down list.

Thanks so much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top