现在的位置: 首页 > 综合 > 正文

生成文件时路径不存在

2013年03月11日 ⁄ 综合 ⁄ 共 110字 ⁄ 字号 评论关闭
  string strPath = @"C:/aaa/aaa/";
 if (!Directory.Exists(strPath))
   {
    Directory.CreateDirectory(strPath);
   }

抱歉!评论已关闭.