I have already found something for reading XML, however I find it difficult to write and update XML.
Can anybody please help in giving some code or advice on the best way of writing to XML files?
I have already found something for reading XML, however I find it difficult to write and update XML.
Can anybody please help in giving some code or advice on the best way of writing to XML files?
Load it up in an XmlDocument first. Also see the link for more information and examples.
Based on the fact you're using .NET 3.5, Linq to XML makes life so much easier when working with XML. Reading, writing, and amending XML documents via Linq is a breeze. The link I posted is just a quick overview, but it should at least give you a taste of what it's like.