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
  1. Home
  2. General Programming
  3. Visual Studio
  4. Treeview items need to be filled in a gridview

Treeview items need to be filled in a gridview

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiodata-structureshelp
2 Posts 2 Posters 8 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.
  • M Offline
    M Offline
    Mr_Banker
    wrote on last edited by
    #1

    Dears, I am using VS 2013 (Visual Basic OR C#) and i would like to fill the gridview with all treeview items & its sub items, noting that the below is the columns of the gridview:

    ID Parent_Node Node_Name Level
    1 Nill Individual 1
    2 Nill Company 2
    3 Individual Child 1
    4 Individual Adult 2
    5 Individual with Inabilities 3
    6 Company partners company 1
    7 Company Stack holders 2
    8 Company Private 3

    any can help? Regards, Hazem Ayoub

    L 1 Reply Last reply
    0
    • M Mr_Banker

      Dears, I am using VS 2013 (Visual Basic OR C#) and i would like to fill the gridview with all treeview items & its sub items, noting that the below is the columns of the gridview:

      ID Parent_Node Node_Name Level
      1 Nill Individual 1
      2 Nill Company 2
      3 Individual Child 1
      4 Individual Adult 2
      5 Individual with Inabilities 3
      6 Company partners company 1
      7 Company Stack holders 2
      8 Company Private 3

      any can help? Regards, Hazem Ayoub

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Just make a list of objects with the details and bind to the datagridview, or add the items manually.

      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