Hi,
I am trying to work out the easiest way to add some things to a treeview.
I have got a list of the priviliged names for each of the computers e.g.
LDAP://DomainName/CN=ComputerName ,OU=OrgUnit1,OU =OrgUnit2,
DC=DCRecord1,DC =DCRecord2
I am iterating through a list of these names to split them into strings for
the domain name and common name and an arraylist of strings for the
organisational units.
That bit works fine no problems, The problem I have is that on a one by one
basis I need to add them onto the correct node of the treeview taking account
the current structure of domains and OU's in the tree view and not
reproducing nodes that are already present.
Hope that makes sense!
Thanks M
--
If at first you don't succeed... Hide the evidence that you tried!
I am trying to work out the easiest way to add some things to a treeview.
I have got a list of the priviliged names for each of the computers e.g.
LDAP://DomainName/CN=ComputerName ,OU=OrgUnit1,OU =OrgUnit2,
DC=DCRecord1,DC =DCRecord2
I am iterating through a list of these names to split them into strings for
the domain name and common name and an arraylist of strings for the
organisational units.
That bit works fine no problems, The problem I have is that on a one by one
basis I need to add them onto the correct node of the treeview taking account
the current structure of domains and OU's in the tree view and not
reproducing nodes that are already present.
Hope that makes sense!
Thanks M
--
If at first you don't succeed... Hide the evidence that you tried!
Comment