If e.Node.Level = 0 Then '如果是顶层节点 Return '则返回 End If Dim Vals() As String = e.Node.FullPath.Split("\") Dim Filter As String = "[spmc] = '" & Vals(0) & "' And [ggxh] = '" & Vals(1) & "'" Dim dr As DataRow = DataTables("spbh").Find(Filter) Dim r As Row = CurrentTable.Current r("spmc")=dr("spmc") r("spbh")=dr("spbh") r("ggxh")=dr("ggxh") e.Form.Close()