协助文档库,TreeView和递归 [英] Assistance with Document Libraries, TreeView and recursion

查看:91
本文介绍了协助文档库,TreeView和递归的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

绅士/女士们,我最终会有智慧。我需要知道如何遍历文档库,创建树视图以显示目录(如果它位于SharePoint 2010 Web部件中)。使用Visual Studio 2010和asp.net树视图控件。我是asp.net的新手以及与SPLists / SPFolders等合作。如果我有一个简短但完整的解决方案,我可以使用它,它会教我更快的方式和原因,而不是让我的搜索头疼谷歌。如果还有其他任何内容我可以添加到这些帖子以帮助您,请告诉我。

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.

推荐答案

没关系,解决方案太容易看到,只有大约15行代码。
Never mind, the solution was too easy to see, only about 15 lines of code.


这篇关于协助文档库,TreeView和递归的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆