开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜