Dim Filter As String
If e.node.Text = "加载所有数据" Then
Tables("居委信息_联系方式").Filter = ""
Else
Dim dr As DataRow = e.Node.DataRow \'获取生成此节点的DataRow
Select Case e.Node.Level
Case 0
Filter ="[分块] like \'" & dr("分块") & "\' "
Case 1
Filter ="[居委] = \'" & dr("居委") & "\'"
End Select
End If
DataTables("松北所居委会信息汇总表").LoadFilter = Filter
DataTables("松北所居委会信息汇总表").Load()