Dim fenLei As WinForm.ComboBox = e.Form.Controls("CboFenLei") Dim s As String = DataTables("存货信息表").GetComboListString("存货分类名称") fenLei.ComboList = s Dim tv As WinForm.TreeView tv =e.Form.Controls("TreeView1") For Each ss As String In s.split("|") Dim nd As WinForm.TreeNode = tv.nodes.Add(ss) Next