0
Reply

Problem with updating XML

Danie Truter

Danie Truter

Jan 29 2009 5:51 AM
1.8k
Hi, and thanks in advance for the assistance....

I am developing a Windows app in C# (.NET 3.5) which loads its data - by means of a second threat - from an online XML file.

When the file is loaded it sets all the data within the app equivalent to the specified data within the XML file...

Now this works fine, but when you update the online XML it still loads the old data (as if it is stored in a cache somewhere) but when you rename the online XML file and loads it then, then it loads the new data, but if you update again then the same problem occurs - it still loads the old data...

I also wrote the XML to my desktop to check and it saves the old data, but if you check the online file it contains the new data...

(using XmlDocument() class, not a Dataset)
(using load function not loadxml)

Thanks and I hope this is clear enough.