hello everyone,

How can I associate a value with a tree node? I have this
TreeNode nodeFirstRecord
nodeFirstRecord = new TreeNode[dr["location"]]
How can I se the value of IndexId to the treeNode in order to retrieve the
value later

nodeFirstRecord.value = dr["indexId"], I want to do something like this

Any help will be greatly apprecaited.

Re: associating value with treenode in vb.net by Norman

Norman
Wed Jun 11 15:03:28 CDT 2008

You can use TreeNode.Tag to store data such as record ID, which user does
not need to see.

"Vinki" <Vinki@discussions.microsoft.com> wrote in message
news:64B3F163-7746-4C07-8229-8EEDE7CDD700@microsoft.com...
> hello everyone,
>
> How can I associate a value with a tree node? I have this
> TreeNode nodeFirstRecord
> nodeFirstRecord = new TreeNode[dr["location"]]
> How can I se the value of IndexId to the treeNode in order to retrieve the
> value later
>
> nodeFirstRecord.value = dr["indexId"], I want to do something like this
>
> Any help will be greatly apprecaited.