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. LINQ
  4. Linq nested data

Linq nested data

Scheduled Pinned Locked Moved LINQ
csharplinqmcphelp
3 Posts 3 Posters 6 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.
  • T Offline
    T Offline
    Tauseef A
    wrote on last edited by
    #1

    Hi , I need to read nested collection (List) for treeview control and depth is not known,can anybody help .My class is like this. class Data { string Id, List DataList; } Tauseef A Khan MCP Dotnet framework 2.0.

    M S 2 Replies Last reply
    0
    • T Tauseef A

      Hi , I need to read nested collection (List) for treeview control and depth is not known,can anybody help .My class is like this. class Data { string Id, List DataList; } Tauseef A Khan MCP Dotnet framework 2.0.

      M Offline
      M Offline
      Matt T Heffron
      wrote on last edited by
      #2

      You need to clarify this question. What are you actually trying to do? How do you think Linq fits into this situation?

      1 Reply Last reply
      0
      • T Tauseef A

        Hi , I need to read nested collection (List) for treeview control and depth is not known,can anybody help .My class is like this. class Data { string Id, List DataList; } Tauseef A Khan MCP Dotnet framework 2.0.

        S Offline
        S Offline
        sankarsan parida
        wrote on last edited by
        #3

        public class cTreeView { public int ID{get;set;} public string Name{get;set;} public int ParentID{get;set;} } List listTreedata=new List(); something like this. you have to maintain One main id and parent ID recursive one table to treeview in c#[^]

        Sankarsan Parida

        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