老朱,没看明白,你的代码和下面的代码,不是一样的吗:
Dim dt As DataTable = DataTables("表A")Dim tv As WinForm.TreeViewtv =e.Form.Controls("TreeView1")tv.BuildTree(dt, "上级|下级")