How can i know value of node

2 posts, 0 answers
  1. Jorge
    Jorge avatar
    8 posts
    Member since:
    Oct 2008

    Posted 07 Oct 2008 Link to this post

    I have the structure in my treeview:

    Node1
        childnode 1.1
        childnode 1.2
    Node2
        childnode 2.1
        childnode 2.2

    How can I know the value of my node1 or node2 if the pisition is in  childnode21

    I need the value of parent node bacuse a work this database and I need the value to add a new record.

    Thanks Jorge Pineda

  2. ramya
    ramya avatar
    3 posts
    Member since:
    Oct 2008

    Posted 07 Oct 2008 Link to this post

    Hi,

     childNode.Parent.Value gives the parent node value.

     where childNode is the reference of the (specified) child node.

    Regards,
    Ramya
     
Back to Top