Creating treeview from a dataset VB.net
Posted on 2012-12-30
I have two tables
stokmaster billofmaterials ==> TABLES
STOKID pk STOKID FK ==> COLUMNS
the relationship is that if a stok in stokmaster table has a bill (BOM), its Billst = 1, and there is a list for its bill of materials in billofmaterials table.
When I am creating a treeview, only I created for parend and its own child, but i want to show child's child and also its grandchild. I mean that all children of any parent have to be shown in treview.
I need the method for creating multi level parent child trevieew in vb.net.