JasonHo

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年7月12日

摘要: /* 需要添加以下命名空间: using System.IO; using System.Security.AccessControl; */ string sPath = Server.MapPath(文件夹名称字符串); Directory.CreateDirectory(sPath); addpathPower(sPath, "ASPNET", "FullControl"); ////////////////////////////////////////////////// publicvoid addpathPower(string pathn 阅读全文
posted @ 2012-07-12 18:54 JasonHo 阅读(628) 评论(0) 推荐(0) 编辑