I have XML that is coming back from my database and I'm databinding it to my TreeView, but it shows:
System.Xml.XmlDeclaration
System.Xml.XmlElement
as part of my tree.
Here is my XML:
<?xml version="1.0" encoding="utf-8" ?>
<tree>
<node text="2014">
<node text="Test 1">
<node text="Test 2">
<node text="Test 3" />
<node text="Test 4" />
</node>
</node>
</node>
<node text="2013">
<node text="Test 1">
<node text="Test 2">
<node text="Test 3" />
<node text="Test 4" />
</node>
</node>
</node>
</tree>
I need my tree to display it like this with checkboxes next to it.
2014
-Test 1
---Test 2
------Test 3
------Test 4
2013
-Test 1
---Test 2
------Test 3
------Test 4
Thank you for any help.
System.Xml.XmlDeclaration
System.Xml.XmlElement
as part of my tree.
Here is my XML:
<?xml version="1.0" encoding="utf-8" ?>
<tree>
<node text="2014">
<node text="Test 1">
<node text="Test 2">
<node text="Test 3" />
<node text="Test 4" />
</node>
</node>
</node>
<node text="2013">
<node text="Test 1">
<node text="Test 2">
<node text="Test 3" />
<node text="Test 4" />
</node>
</node>
</node>
</tree>
I need my tree to display it like this with checkboxes next to it.
2014
-Test 1
---Test 2
------Test 3
------Test 4
2013
-Test 1
---Test 2
------Test 3
------Test 4
Thank you for any help.