471,610 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

read user section from config file to drop down list

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

Nov 28 '05 #1
1 1815
raj
try this link
http://www.codeproject.com/csharp/Cu...ile_Reader.asp

i used it (or something like it) before and its very useful. you may need
to modify it but shouldn t be too hard..
raj

"Antonio" <bl*****@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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

Nov 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dan | last post: by
5 posts views Thread by Dica | last post: by
2 posts views Thread by Sam Kuehn | last post: by
5 posts views Thread by Stephen Costanzo | last post: by
3 posts views Thread by Brett Romero | last post: by
1 post views Thread by jacbyrd | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.