How to write Into a Config file through VB.Net?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erlin
    New Member
    • Jul 2007
    • 5

    How to write Into a Config file through VB.Net?

    I'm taking values from that application configuration file, with the command -
    system.Configur ation.Configura tionSettings.Ap pSettings.Get(" name")
    -- similarly,, i want to update that config file...
    There is a function like this..
    system.Configur ation.Configura tionSettings.Ap pSettings.Set(" name",str)
    -- but when i'm using this, error is coming up.. like this cannot be editted..
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is a post that may help:
    read and write to the web.config file

    Comment

    Working...