G
Guest
Dear all,
I am populating a treeview control with an XML file.
I need to skip duplicate node entry from XML file in treeview if exit
For that I ma using the following line of code :
If NodeCollection.Contains(node) Then Return True
That function always return false.
If I go through nodeCollection object and check if my Node object exist I
can saee it already in the collection.
Why the Contains return always false ?
Waht is the criteria that identify an existing node iunn the collection, is
it ist name?
Thnaks for helping me how to identify an exiting node
regards
serge
I am populating a treeview control with an XML file.
I need to skip duplicate node entry from XML file in treeview if exit
For that I ma using the following line of code :
If NodeCollection.Contains(node) Then Return True
That function always return false.
If I go through nodeCollection object and check if my Node object exist I
can saee it already in the collection.
Why the Contains return always false ?
Waht is the criteria that identify an existing node iunn the collection, is
it ist name?
Thnaks for helping me how to identify an exiting node
regards
serge