dll config and web.config and Label Expressions (binding label text to dll config settings)

C

CSharpner

How can I do the following?:

Have a label on a form have its Text property bound to a setting from
one of my DLL library's config files?

I've followed these instructions to successfully get the DLL settings
into the web.config:

http://groups.google.com/group/micr...config+dll+properties&rnum=1#e34b1675db9b4486

Given the instructions above, I can now get my dll config settings
into my web.config file. But the problem I have now is that I still
can't take a label, and bind its Text property to anything from the
DLL config's settings. The expressions dialog can only see
"AppSettings", "ConnectionStrings", and "resources". My DLL settings
are in the "applicationSettings" section, which isn't exposed to the
Expressions dialog.

Is there a way to bind a Label's Text property directly to one of the
dll config settings without code, like the way it's done to bind the
Text property to a web.config file's appSettings entry?

TIA
 

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

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top