473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Updating XMLDocument

Eva
Hi,

Could someone tell me what I'm making bad?

I put a XML file in a XMLDocument using Load command.
After I modify some values in nodes and use Save for solve
changes.
So, while I'm in the application I can look all the
changes (they are made in the XMLDocument) but, really
changes aren't made in the file.

Thanks a lot,
Eva.
Nov 15 '05 #1
1 1199
The changes in the file won't happen until the file is flushed out. When
you do a Save, the new file will have the changes.

If you want the changes in the same file you started with, you can create a
readwrite stream at the beginning and pass the same for both Load and Save.

-vJ

"Eva" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hi,

Could someone tell me what I'm making bad?

I put a XML file in a XMLDocument using Load command.
After I modify some values in nodes and use Save for solve
changes.
So, while I'm in the application I can look all the
changes (they are made in the XMLDocument) but, really
changes aren't made in the file.

Thanks a lot,
Eva.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Web Team | last post by:
Hi All, I'm trying to update the contents of an XML node. My original code: Dim loXMLDoc As XmlDocument = New XmlDocument Dim loNode As XmlNode...
9
by: Rocky | last post by:
I have 2 textboxes. When I click submit, i want to add whatevers in the text box1 as username and whatevers in textbox2 as userid into an xml file. How do I do that in ASP.NET using vb.net? My...
1
VijaySofist
by: VijaySofist | last post by:
Hi All, I have written a procedure in C#.Net for updating an xml node. I am using VS2008 with Dot Net Framework 3.5 I am submitting my code in below private void...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.