Click here to Skip to main content
15,882,806 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Gentlemen/Ladies, I am at wits end. I need to know how to loop through a document library, creating a tree view in order to show a 'table of contents' if it were in a SharePoint 2010 Web Part. Using Visual Studio 2010 and an asp.net tree view control. I am new to asp.net as well as working with SPLists/SPFolders ect. If I had a short but complete solution I could use, it would teach me faster as to the how and why rather than giving google a headache with my searches. If there is anything else I can add to this posts to assist with your help, please let me know.
Posted

1 solution

Never mind, the solution was too easy to see, only about 15 lines of code.
 
Share this answer
 
Comments
CHill60 2-Mar-14 20:20pm    
It would be nice if you would post those 15 lines for the benefit on anyone struggling with the same problem... I think this link explains what I mean https://xkcd.com/979/[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900