开发者

Asp.net: Show files from 2 different folders in a single Gridview [duplicate]

开发者 https://www.devze.com 2023-03-12 15:42 出处:网络
This question already has answers here: Closed 11 years a开发者_JAVA百科go. Possible Duplicate: Show files from 2 different folders in a single Gridview
This question already has answers here: Closed 11 years a开发者_JAVA百科go.

Possible Duplicate:

Show files from 2 different folders in a single Gridview

Is it possible to show files from 2 different folders (c:\test1 and c:\test2) in the same gridview?

I work in VB.net (VS 2010)

Thanks!


Yes. Get list of all the files using Directory.GetFiles() into a single IEnumerable<string> and bind it to a GridView.

0

精彩评论

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