what kind of collection and how to store for a tree view

Oct 13 2017 5:24 AM

Hi Everyone,

I am a beginner in the learning process of .net framework. I need to make a treeview based list on my WPF application.How do make a collection in my logic layer.For instance,the tree view should be displayed like given below.Please consider the data is not taken from the database if so we can create ORM and make parent child table link.I just want to know what kind of collection I should use and how to add the following data.please help me out.

Collegename

|-->Department name

|--->HOD

Collegename

|-->Department name

|--->Lecturer


Answers (1)