C# 获得不包括文件名的路径

http://zhidao.baidu.com/question/394595893.html 

 

var dir = System.IO.Path.GetDirectoryName(physicalPath); 可以获得不带文件名的路径
posted @ 2012-05-15 16:05  Billy.rao  阅读(929)  评论(0编辑  收藏  举报