Dim Filter As String
If e.node.Text = "加载所有数据" Then
Filter = ""
Else
Dim dr As DataRow = e.Node.DataRow \'获取生成此节点的DataRow
Select Case e.Node.Level
Case 0
Filter ="[群组分类] = \'" & dr("群组分类") & "\'"
Case 1
Filter ="[群组分类] = \'" & dr("群组分类") & "\' And [客户供应商] = \'" & dr("客户供应商") & "\'"
End Select
End If
DataTables("通讯录").LoadFilter = Filter
DataTables("通讯录").Load()