Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am using XmlDataProvider to bind the contents of an xml file to treeview. My question is if I make any changes to xml file manually, do I need to recompile it everytime. Or the application will correctly refer to the Source path where I have updated the xml.


Thanks
Posted
Updated 24-Oct-14 18:02pm
v2
Comments
Sergey Alexandrovich Kryukov 24-Oct-14 17:21pm    
How to do you do this "manual changes" (what is that?), to what, exactly, what artifact, and what indicated that you completed the changes? If you think about that, you will find out the answer yourself. :-)
—SA
George Jonsson 25-Oct-14 0:03am    
Do you ever compile an XML file?
Divya B Nair 26-Oct-14 23:07pm    
By manual changes I mean, I have added a particular node to my xml file. XMLDataProvider has a property called Source which indicates the path of an xml file. So If I make any change in the xml file provided in that path, do i need to recompile my visual studio solution to get the changes in effect.

What I noticed is when I recompile VS and run my application, the newly added node is listed in the tree view. However, running the application right after updating the xml file doesn't reflect the changes in my application. I hope everything is clear now.

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