Posted on: 9/21/2012 11:52:27 PM | Views : 227

Hello all!!!
I'm using the below code to add a node in an xml which is located in my pc.
            XmlDocument doc = new XmlDocument();
            doc.Load("names.xml");
            XmlNode name = doc.CreateElement("Name");
            XmlNode username = doc.CreateElement("username");
            username.InnerText = "25061";
            XmlNode paid = doc.CreateElement("paid");
            paid.InnerText = "No";
            name.AppendChild(username);
        ...

Go to the complete details ...