得到文件

1 string fileName = ofd.SafeFileName;

得到路径

1 string filePath = System.IO.Path.GetDirectoryName(ofd.FileName);

 

posted on 2014-11-20 10:08  小太  阅读(227)  评论(0编辑  收藏  举报