K
Karl Rhodes
Hi all...
Perhaps I'm not going about this the right way, but I wondered if
anyone can help?
I have a treeview which populates from a datatable using a parent/
child relationship. It stores a company/branch hierarchical structure
and show areas/regions/branches etc by name in it's nodes.
What I need to be able to do is select a node (by clicking on the
branch name etc) and return an integer value for the given hierarchy
point so that I can save data based on this integer value. The reason
I need this integer is because branches etc within the company
hierarchy may be the same, but reside in different trees of the
treeview.
I've noticed there's no Node.Value or anything and wondered if anyone
had had the same problem or if anyone could think of a way around this
problem?
Thanks
Perhaps I'm not going about this the right way, but I wondered if
anyone can help?
I have a treeview which populates from a datatable using a parent/
child relationship. It stores a company/branch hierarchical structure
and show areas/regions/branches etc by name in it's nodes.
What I need to be able to do is select a node (by clicking on the
branch name etc) and return an integer value for the given hierarchy
point so that I can save data based on this integer value. The reason
I need this integer is because branches etc within the company
hierarchy may be the same, but reside in different trees of the
treeview.
I've noticed there's no Node.Value or anything and wondered if anyone
had had the same problem or if anyone could think of a way around this
problem?
Thanks