Read/Write to XML in C#

I am new to C#/XML and I am trying to read/update (write to) an XML file with C# with a ASP.NET webpage.  I have developed parts of my webpage and the XML file.  I am trying to figure how i can display the info from the XML file onto my page and also have an Add button on the webpage that will add information to the XML file.

Here is my current XML file
<?xml version="1.0" encoding="utf-8" ?>
    <resource_name>John Doe</resource_name>

Open in new window

Who is Participating?
anipeddiConnect With a Mentor Commented:
I can sugget you a couple of ways to do that.
1)Using Data grid(or Grid view control)
   you could edit the grid to manipulate the xml file.
Pls read this article for complete steps

2)There is an control named XmlWebserver control to complete your task.
  Read this article for your reference
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.