开发者

I want to bind gridview of all D:\ drive file folders in asp.net?

I want to bind gridview of all D:\ drive file folders开发者_Go百科 in asp.net? and download the file? how is it possible?


You basic need 2 functions to travel to the directories and files...

System.IO.Directory.GetFiles(CurrentFolderPath, "*");
System.IO.Directory.GetDirectories(CurrentFolderPath, "*");

and then use a generic handler (.ashx) to render the results (and download this file).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜