I have a xml file i need to databind to a DropDownList, the xml looks like this
<Category>
<ID=1/>
<Title=Main/>
<ParrentID=0/>
</Category>
<Category>
<ID=2/>
<Title=Sub of Main/>
<ParrentID=1/>
</Category>
<Category>
<ID=3/>
<Title=Level 3/>
<ParrentID=2/>
</Category>
<Category>
<ID=4/>
<Title=Main 2/>
<ParrentID=0/>
</Category>
is it possible to have the DropDownLost display it like this
Main 1
Sub of Main
Level 3
Main 2
<Category>
<ID=1/>
<Title=Main/>
<ParrentID=0/>
</Category>
<Category>
<ID=2/>
<Title=Sub of Main/>
<ParrentID=1/>
</Category>
<Category>
<ID=3/>
<Title=Level 3/>
<ParrentID=2/>
</Category>
<Category>
<ID=4/>
<Title=Main 2/>
<ParrentID=0/>
</Category>
is it possible to have the DropDownLost display it like this
Main 1
Sub of Main
Level 3
Main 2