Changing the Attribute value of an xml node in VB.NET

.net , vb.net , xml Toronto, Canada
  • 12 years ago

    Hai i am having an XML File in the format ..

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>

     <appSettings>
                     <add key="MenuItemFile.Text" value="File" />
                     <add key="dbsettingsOleDB" value="val1" />
                     <add key="dbsettings" value="val2" /> 
                      <add key="TestVal" value="val3" /> -->  
    </appSettings>  
    </configuration>

    I want to change the value of the Attribute whose key is "TestVal"

    How can i do this .. Coding i want to do in VB.NET ..I m using .net 2003

    Plz help 

    --> -->

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”