TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vipul Kelkar
NA
1.9k
569k
Write XML nodes to file
Aug 29 2011 8:45 AM
Hi,
Has anyone come acroos this scenario
I have a XML file of the following structure
<Customers>
<Customer>
<FirstName></FirstName>
<LastName></LastName>
</Customer>
<Customer>
<FirstName></FirstName>
<LastName></LastName>
</Customer>
</Customers>
Now i need to append a "Customer" tag programatically to the XML file. I was able to add <Customer></Customer> using appendchild() to the root tag. But it did not write the children "firstname" and "lastname".What is a better way that will add the entire Customers tag block including firstname and lastname
Reply
Answers (
5
)
How to prevent my button from double clicking?
How to merge two different form in csharp?