associating value with treenode in vb.net

  • Thread starter Thread starter Vinki
  • Start date Start date
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.
 
You can use TreeNode.Tag to store data such as record ID, which user does
not need to see.
 
Back
Top