Linq nested data
-
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.
You need to clarify this question. What are you actually trying to do? How do you think Linq fits into this situation?
-
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.
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