Using LINQ to XML; Information from form to xml and back



This is the form: http://ift.tt/1m6WooR


From this I want to generate an xml like:



<Customers>
<Customer CustomerID="1">
<CustomerFirstName>John</CustomerFirstName>
<CustomerLastName>Smith</CustomerLastName>
<ContactNumber>0327929387</ContactNumber>
<Email>stackoverflow@gmail.com</Email>
<FullAddress>
<Address>2732 Baker Blvd.</Address>
<City>Eugene</City>
<Region>OR</Region>
<PostalCode>97403</PostalCode>
<Country>USA</Country>
</FullAddress>
</Customer>
</Customers>


and from that be able to read it back into the form and edit the info.


No comments:

Post a Comment