I want to create an XML document like this:
I want to create it from scratch using code and LINQ-to-XML. In the form Load Event I've written this code:
private void Form9_Load(object sender, EventArgs e)
{
doc = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
XElement myroot = new XElement("Employees");
doc.Add(myroot);
}
How I can add new person to Employees, and if I want to insert person in specific location what can I do?
How I can delete or update a specific person ?