web Config File with vb.net & asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sheena777
    New Member
    • Dec 2007
    • 73

    #1

    web Config File with vb.net & asp.net

    Can you save other pieces of information in the web config file for an aspx project. I have an smtp number that I want to beable to dynamically change if it where to ever change. I don't want the user to always have to put the number in when they would like to send an email. Is there any way to save the number to a file that the website can read form.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    You can store key value pairs in the appSettings, for eg, and access them via the configuration manager on app pages. HTH.

    Comment

    Working...