how to populate treeview from multiple columns of sql data table
I have attached my sql table here.from that table,i have to populate a treeview of the below form;
-outlook
---------overcast
-----------------------------yes
---------rainy
----------------wind
----------------------strong
------------------------------no
----------------------weak
-------------------------------yes
---------sunny
---------------humidity
------------------------high
--------------------------------no
-------------------------normal
---------------------------------yes.
It is readable like this;
if outlook is overcast then yes
if outlook is rainy and if wind is strong then no
if outlook is rainy and wind is weak then yes
if outlook is sunny and humidity is high then no
if outlook is sunny and humidity is normal then yes
how can i use this table to populate treeview.