将文件夹显示到列表视图中 [英] displaying folders into a listview

查看:104
本文介绍了将文件夹显示到列表视图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好....
问题:我只想将文件夹显示到列表视图中.我不想要文件夹的内容,只想要只显示文件夹.每当我选择任何指令时,它应该是指定指令的显示文件夹列表.

请帮帮我..
Thanku ....

hi to all....
problem:I want display only folders into a listview. i donot want content of folder, just i want only diplaying folders. when ever i select any directive it should be display folders list of specified directive.

please help me..
Thanku....

推荐答案

您尝试了什么?对我来说,System.IO.Directory.GetDirectories似乎就是您所需要的.
What have you tried ? System.IO.Directory.GetDirectories seems like all you need, to me.


首先,请不要发布真正的答复.编辑您的帖子.其次,您了解我告诉您的内容吗? Google在您居住的地方工作吗?我告诉过您如何列出目录下的文件夹.这就是将列表放入列表视图所需的全部.如果您的意思是,您绝对不了解Windows编程的任何方面,那么我只是告诉您买一本书.
First of all, don''t post a reply that''s really a response. Edit your post. Second, do you understand what I told you ? Does google work where you live ? I told you how to list the folders underneath a directory. That''s all you need in order to get the list to put in a listview. If you meant, you have absolutely no idea about any aspect of windows programming, then I''d just have told you to buy a book.


我不明白您的意思. ..
我想将文件夹显示在列表框中
i didn''t get u....
i want display folders into a listbox


这篇关于将文件夹显示到列表视图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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