|
-
Oct 4th, 2007, 08:29 PM
#1
Thread Starter
Lively Member
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
-
Oct 4th, 2007, 08:43 PM
#2
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.
-
Oct 4th, 2007, 10:08 PM
#3
Thread Starter
Lively Member
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
-
Oct 4th, 2007, 10:11 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|