CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    22

    how to populate a treeview

    I have a database of a company XYZ.
    It has two tables Departments-(customer support, executives, HR)
    and Machines-(PC1, PC2, PC3, PC4)
    The PC

    I want my tree view to look like

    XYZ

    -- Customer Support
    -------PC1
    -------PC2

    -- Executives
    -------PC3

    -- HR
    -------PC4

  2. #2
    Join Date
    Jun 2008
    Posts
    2,477

    Re: how to populate a treeview

    So... what is the question? What have you tried? given your question, here is a tutorial:

    http://www.java2s.com/Code/CSharp/GU...iewExample.htm

  3. #3
    Join Date
    Jan 2009
    Posts
    22

    Re: how to populate a treeview

    I want to populate my treeview dynamically from my database.
    In the above example they are providing the node values.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured