views:

36

answers:

1

I have a XML file as follows,


<RootNode name="CurrentDbName" value="040110">
   <ChildNode name="Application" value="App">
         <LeafNode name="Source" value="Source"/>
         <LeafNode name="Publish" value="Publish"/>
     </ChildNode>
   <ChildNode name="Database" value="DB">
         <LeafNode name="Dev" value="Dev"/>
         <LeafNode name="Build" value="Build"/>
   </ChildNode>
</RootNode>

So i want to read 'value' attribute of each node and add it to Treeview as it present in the xml file

A: 

There is a 3-rd party TreeView control which allows load/save serialization of tree hierarchy in XML file. There are several methods for Load/Save of XML serialized code in files and streams.

Lokey