//pbak是要检查是否为空的文件夹路径
        if (Directory.GetDirectories(pbak).Length > 0 || Directory.GetFiles(pbak).Length > 0)
        {
            Response.Write("<script>alert('文件夹不为空!');</script>");
        }

posted on 2014-07-04 15:40  死神的遗迹  阅读(5378)  评论(0编辑  收藏  举报