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
Okada Okada
NA
19
2.9k
How to append changes to XML file using C# [VS2015]
Jul 2 2018 4:13 AM
How to append changes to XML file using C# [VS2015]
My XML file is like this.
<userSettings>
<Calc.Properties.Settings>
<setting name="WindowTop" serializeAs="String">
<value>240</value>
</setting>
<setting name="TableBackground" serializeAs="String">
<value>Transparent</value>
</setting>
</Calc.Properties.Settings>
</userSettings>
I need to add one more child element and sub child element. How to do this ?
The final xml file should be like this.
<userSettings>
<Calc.Properties.Settings>
<setting name="WindowTop" serializeAs="String">
<value>240</value>
</setting>
<setting name="TableBackground" serializeAs="String">
<value>Transparent</value>
</setting>
<setting name="TableForeground" serializeAs="String">
<value>Opaque</value>
</setting>
</Calc.Properties.Settings>
</userSettings>
Reply
Answers (
4
)
passing the data to the view from different controller
How to delete node and sub node in C# in XLM file ?