Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > dll config and web.config and Label Expressions (binding label text to dll config settings)

Reply
Thread Tools

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

 
 
CSharpner
Guest
Posts: n/a
 
      04-09-2007
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/micro...4b1675db9b4486

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[cpp] using expressions inside a #define label Andrey Vul C Programming 2 10-24-2009 12:10 AM
label versus asp:label Question. Thanks. Shapper ASP .Net 2 05-07-2005 05:55 AM
Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)? H. Simpson Ruby 4 08-03-2004 04:45 PM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM
Add custom regular expressions to the validation list of available expressions Jay Douglas ASP .Net 0 08-15-2003 10:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57