Dim Values() As String = e.Form.Controls("CheckedComboBox选择列").Text.Split(",")
Dim strs() As String = e.Node.FullName.Split("\\")
Dim dr As DataRow = e.Node.DataRow
Dim flt As String
For i As Integer = 0 To strs.Length - 1 \'\'间接获取目录树层级(Level)
For j As Integer = 0 To Values.Length - 1
If i = j Then \'\'只加入选定节点及以上的节点
flt + = Values(j) & "= \'" & dr(Values(j)) & "\' And "
End If
Next
Next
If flt > "" Then
DataTables(订单).Filter = flt.SubString(0,flt.Length - 5)
End If