Have you had a chance to study the "Programmatic Hierarchical Binding" demo in the online demos? I think it shows you exactly the code you need for this scenario. Source for the demo is available in VB, too. Check it out here:
For additional help, here is an article in the online docs describing how you can use the DetailTableDataBind event to programmatically work with hierarchal data:
Hope that helps!