Solved

Observable Collection .Net 4.0

Posted on 2011-09-12
2
416 Views
Last Modified: 2013-11-08
Hi Experts,
I have got org reporting data example from SQL Server in the attached xls. I want to create an observable collection of employee in .net the way treeview arranges nodes.

Can somebody help me in this
Book1.xlsx
0
Comment
Question by:vikas_nm
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 36528832
If I understand what you are looking for, you just need a class similar to this:

Observable Collection, second look
http://csharprambling.wordpress.com/tag/observable-collection/

public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }
    public ObservableCollection<Person> Children { get; set; }
    public Person()
    {
       Children = new ObservableCollection<Person>();
    }
}

Open in new window

0
 

Author Closing Comment

by:vikas_nm
ID: 36957219
Thanks and sorry for late update
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question