Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Saving New Data into XML using C#
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Ika AJ
14y
2.7k
1
Reply
Hi,
I've an application that needs saving data from datagrid into an XML file.
Currently, it is working only half way coz the file keeps saving the data to the original file. Which means, it is appended to the bottom of the .XML but it repeats the root element.
I'ld like to eliminate this problem, but couldn't go about it.
Any suggestion?
I think my current code is a little low-level, so hopefully, there's a more efficient method.
Thanks,
Ika
P.S: I've inserted screen shots of the before and after of the .xml file when new data is inserted.
******
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Tab Page Control
Which of the following performed to fully debug an asp.net application running on same machine as a debugger?