If e.Node.Level = 0 Then \'如果是顶层节点
Return \'则返回
End If
Dim Vals() As String = e.Node.FullPath.Split("\\")
Dim Filter As String = "[公司] = \'" & Vals(0) & "\' And [部门] = \'" & Vals(1) & "\'"
Dim dr As DataRow = DataTables("员工资料").Find(Filter)
Dim r As Row = Tables("费用汇总").Current
r("姓名") = dr("姓名")
e.Form.Close()