associating value with treenode in vb.net

V

Vinki

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.
 
N

Norman Yuan

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top