TreeView

G

Guest

I have a table that I would like to display in a tree view. The table has
parent/child relationships (there is a primary key, and another field that
points to the parent's primary key). This table is in an SQL Server database
(2005). The table is essentially an organization structure (CEO who has
senior managers, who then have department managers, who have section
managers, etc). How do I get this structure into a tree view?

Thanks.
 
W

WenYuan Wang [MSFT]

Hi Acsla

You may check the following document. It seems like closed to your
scenario.
http://msdn2.microsoft.com/en-us/library/ms996437.aspx
[Extending the TreeView Control]

Please let me know if you meet any further issue. I'm glad to assist you.
Sincerely,
Wen Yuan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top