For Each dr1 As DataRow In DataTables("员工表").DataRows If dr1("职位") = "销售员" Then Dim nd1 As WinForm.TreeNode = trv.nodes.Add(dr1("员工姓名")) End If
……