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.
精彩评论