Click here to Skip to main content
15,923,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

'If i have Mynode as New Treenode

'While i'm reading my database

'i define each parentNode and assign them a name, with

VB = x

'But when i define my childNodes
'i also want to give them a name

'I want to write something like this, but this is obviously not working

VB y

How could i do this????
Thank you so much!
Updated 6-Feb-15 3:58am

You need to find the child node from the TreeNode.Nodes collection[^] of the parent. Once you have the actual node then you can set its name.
Share this answer
Marcelo Ilardi 6-Feb-15 10:09am    
Can you give me an example with Code?
Richard MacCutchan 6-Feb-15 10:12am    
I've given you the link to the documentation, I suggest you look at the sample code on that page.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900