【转】C#遍历指定文件夹中的所有文件
摘要:C#遍历指定文件夹中的所有文件 DirectoryInfo TheFolder=new DirectoryInfo(folderFullName);//遍历文件夹foreach(DirectoryInfo NextFolder in TheFolder.GetDirectories()) this.listBox1.Items.Add(NextFolder.Name);//遍历文件foreach(...
阅读全文
posted @ 2010-09-19 21:35
浙公网安备 33010602011771号