Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a page that displays a grid populated from an XML file, all users can edit the file and I want the page to update to reflect any changes anyone has made to the XML file i've tried using a FileSystemWatcher object that monitors the XML files for changes and triggers a DataBind when it has changed, I get a "The process cannot access the file 'C:\..bbcrlog.xml' because it is being used by another process."

Is there a different way to do this?

I'm using a "XMLDataSource" and a datalist that is bound to the data source.
Posted
Updated 2-Jan-14 23:04pm
v2

1 solution

Solved it by running a javascript function that uses jquery to read the xml and update the page dynamically, got rid of the XMLDataSource and datalist object..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900