Can some one help with the code how I am going to populate a treeview. In my database i have a talbe with the following coloums: ID, ParentId, NodeText. Now i have the data in class named Cateogry and in it i have all the above colums. Then I created a list of type category and in it i have all recoreds. Now I want to view them in a tree vew. Can someone help me with the code?
samudebr
0
Newbie Poster
Recommended Answers
Jump to PostHere is a simplified way of doing it.
Typically, If using a database, I would avoid using the category class all together
but that is not what you were asking for.Anyway, All this form has is a TreeView component and an untyped dataset. The onLoad takes off and …
All 4 Replies
JerryShaw
46
Posting Pro in Training
majestic0110
commented:
Great work as always.Am linking to this in another thread!
+2
yaninea
0
Newbie Poster
third33
0
Newbie Poster
yaninea
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.