4 Replies - 536 Views - Last Post: 14 September 2011 - 05:54 AM Rate Topic: -----

#1 plejer_adam  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 90
  • Joined: 17-May 10

Open, write and save XML file

Posted 14 September 2011 - 12:38 AM

I have setting.xml file and i need to open it choose some nod from it and write a new value from textbox , and then save it.

Is there any good example ?
Is This A Good Question/Topic? 0
  • +

Replies To: Open, write and save XML file

#2 ragingben  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 170
  • View blog
  • Posts: 637
  • Joined: 07-October 08

Re: Open, write and save XML file

Posted 14 September 2011 - 01:17 AM

Is the setting a setting for your application?. If so you don't need to edit it at an xml level, just update the setting in your program and make sure you save the xml.

If you want to read and write an xml file for some other reason this tutorial looks pretty good
Was This Post Helpful? 1
  • +
  • -

#3 plejer_adam  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 90
  • Joined: 17-May 10

Re: Open, write and save XML file

Posted 14 September 2011 - 02:58 AM

ok , thank you , i made it !
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: Open, write and save XML file

Posted 14 September 2011 - 04:55 AM

If you are using .Net 3.5 or higher, I would suggest looking into LINQ-To-XML.
Was This Post Helpful? 1
  • +
  • -

#5 plejer_adam  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 90
  • Joined: 17-May 10

Re: Open, write and save XML file

Posted 14 September 2011 - 05:54 AM

View Posteclipsed4utoo, on 14 September 2011 - 04:55 AM, said:

If you are using .Net 3.5 or higher, I would suggest looking into LINQ-To-XML.



i found that, it helped me
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1