Code Snippet
Private Sub FillTreeView()
For Each drParent As DataRow In ds.Tables(0).Rows
Dim pnode As New TreeNode(drParent(0).ToString())
pnode.Tag = drParent(1).ToString()
'Set parent node's tag.
Me.treeView1.Nodes.Add(pnode)
For Each drChild As DataRow In drParent.GetChildRows("Cus_Ord")
Dim childNode As New TreeNode(drChild(0).ToString())
childNode.Tag = drChild(1).ToString()
' Set child node's tag.
pnode.Nodes.Add(childNode)
Next
Next
End Sub