In a webform how do I populate a treeview from a dataset?

All the examples seem to use xml.

Thanks in Advance