.NET 2 Write to XML File

Posted on 2008-02-07
Medium Priority
Last Modified: 2008-07-03
I've looked at tons of examples online but haven't been able to find any that have made me understand how to do what I'm trying to accomplish.  I have an XML config file for some misc. settings on a website.  From the admin interface I want these to be configurable, so the site has to write back to the XML file.  The XML file is structured as

How can I do here the equivalent of the SQL update set setting1=newvalue?

Question by:anoyes
1 Comment
LVL 26

Accepted Solution

Rejojohny earned 375 total points
ID: 20853174
you can create a empty dataset or read the existing config file into a dataset and then save the dataset into xml ...


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question