Hi, I am writing a kind of windows explorer. It will show the files in a folder. I use treeview to navigate in folders and how can i get the name of files in a folder?any idea?
MigrationUser 1 Wednesday, May 19, 2004 5:11 AM
using System.IO;
DirectoryInfo info = new DirectoryInfo(@"c:\My Directory"); FileInfo []files = info.GetFiles(); DirectoryInfo []subDirs = info.GetDirectories();