Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Tree View Control

Tree View Control

Scheduled Pinned Locked Moved Managed C++/CLI
databasetutorialdata-structures
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LakshmiPathiRao
    wrote on last edited by
    #1

    Hi to All, I am new to use Tree View Control I want to save the Tree control info into DB and retrive it back and generate the same tree control again for that can any one tell me what r the minmum necessary values like Name,index ,parent...... to store in the DB and how to use those values to generate the tree again Can any one explain me or give me the link of the similar example. Thanks in advance..

    S 1 Reply Last reply
    0
    • L LakshmiPathiRao

      Hi to All, I am new to use Tree View Control I want to save the Tree control info into DB and retrive it back and generate the same tree control again for that can any one tell me what r the minmum necessary values like Name,index ,parent...... to store in the DB and how to use those values to generate the tree again Can any one explain me or give me the link of the similar example. Thanks in advance..

      S Offline
      S Offline
      shezh
      wrote on last edited by
      #2

      Hi, I had to do a similar thing on the project i'm working on, but instead of using a DB, I just wrote the 'structure' of the tree to an XML file. The top-level elements represented parent tree nodes, and any child nodes of the parent nodes were written as child elements. You could then just parse the XML file, creating TreeNodes as you go through the different XML elements. Of course it depends on how much information you need to store. For me, all I really needed was the text of the nodes and the hierarchal structure. I hope this helps buddy! cheeze

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups