tv.BuildDataTree2("ygda", "[是否离职]=false",“”,"部门", "岗位职务", "姓名")
以下是引用yangming在2010-4-25 21:00:00的发言:
Dim tv As WinForm.TreeView
tv =e.Form.Controls("TreeView1")
tv.BuildTree("ygda","部门|职务|姓名","[是否离职] = false")
嗯,老大说以后都得用BuildTree,虽然BuildDataTree和BuildDataTree2依然可用,但帮助中以后查不到了。