摘要:
string result = Regex.Match(str,@"[^\\]+$").Value;//正则表达式this.listBox1.Items.Add(Path.GetFileName(str) + " ");//方法 //读取Excel中数据 到datata... 阅读全文
posted @ 2015-04-03 14:09
洛晨随风
阅读(579)
评论(0)
推荐(0)
摘要:
只遍历子文件夹和根文件夹下面文件目录的方法: DirectoryInfo theFolder = new DirectoryInfo(@"E:\工作\Work");//文件的操作类 FileInfo[] fileRootInfo = theFolder.GetFiles();/... 阅读全文
posted @ 2015-04-03 11:13
洛晨随风
阅读(418)
评论(0)
推荐(0)

浙公网安备 33010602011771号