请帮我在C#中的dowload文件夹 [英] please help me for my dowload folder in c#

查看:71
本文介绍了请帮我在C#中的dowload文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在网格视图中列出了文件夹名称列表,如果我单击该文件夹名称,则要下载该文件夹.
如果它是文件,则意味着我可以下载easiy,但是当它是文件夹时,单击该文件夹名称就很难下锁.
任何人都请告诉我,我该如何下载仅包含tiff或pdf文件的文件夹.

I have listed a list of folder name in a grid view, if i click that folder name,the folder i wants to download.
If it is a file means i can download easiy , but when it is a folder, it is difficult to downlod in a single click on the folder name.
Any one please tell me, how can i download that folder only containing tiff or pdf files. not any folder with in the root folder.

推荐答案

您不能仅通过单击下载整个文件夹.从逻辑上说,当您单击一个文件夹时,它也应该打开该文件夹.您可以做的另一件事是提供一个按钮,指示下载文件夹".在此按钮内,您可以编写一个函数,该函数将在用户首选的位置创建一个文件夹,然后一步一步下载文件并将其存储在该文件夹中.我认为这是完成任务的方式.
You cannot download the entire folder just by a single click. Logically also when you click a folder it should open that folder. What other thing you can do is provide one button saying "Download Folder". Inside this button you can write a function which will create a folder at user preferred location and download file one by one and store it on that folder. I think it is of of that way achieve your task.


这篇关于请帮我在C#中的dowload文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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