I have a simple hirachey of Tasks similar to the snipet below:
public class Task
{
public Guid TaskId { get; set; }
public Guid ParentId { get; set; }
public string Name { get; set; }
public List<Task> Subtasks = new List<Task>();
}
What would be be the best way to display this data? A TreeView would be look ideal but since im not using a DataSet is this control excluded? Or how could i modify my code to enable me to use a TreeView?
Cheers Anthony