How to use TreeView to make XML hierarchical data binding in ASP.NET
Some controls in .NET, like TreeView, have the built-in smarts to show hierarchical data. When you bind the TreeView to an XmlDataSource, it uses the XmlDataSource.GetHierarchicalView() method and displays the full structure of the XML document.
The next XML file named BooksList.xml is used as example:
<?xml version=”1.0″ encoding=”utf-8″?>
<BooksList>
<Book ISBN-13=”978-0545139700″>
<Title>Harry Potter and the Deathly …