how to rename the Root of the Tree View at backend Code [vb.net 2003]
Hi all,
How to rename the rode name at backend code ??
i have root node show like below
Inbox
Outbox
Trash
i want to rename Inbox become inbox (20) for new mail......
thanks
Re: how to rename the Root of the Tree View at backend Code [vb.net 2003]
The root node of what? Guessing games are fun but you'll get a better answer quicker if you provide us the relevant information.
Re: how to rename the Root of the Tree View at backend Code [vb.net 2003]
i have one TreeView Contorl.... i have add 3 root nodes like
Inbox
Outbox
Trash
......................................
after i click on the inbox root node, i will going to read the DB table to get the unread msg count........ Inbox (2) unread
is it possible to do tat ???
thanks
Re: how to rename the Root of the Tree View at backend Code [vb.net 2003]
Each node has a Text property, which you can set. You can access the nodes by index, e.g. myTreeView.Nodes(0), but as you have well-known nodes I would suggest a member variable for each one to access it directly.