Reputation: 10164
i have a asp.net tree view control and its being data bound to XML returned from the DB. once bound and the nodes are present in the control how can i remove/ hide the root node?
thanks!
Upvotes: 0
Views: 2538
Reputation: 311
Set the DataSource's XPath property to /*/*
, which will skip the root node.
Upvotes: 4