0

我想问一下这段代码有什么问题吗?因为如果文件夹不存在,它不会创建文件夹。

    Dim folderPath As String = Server.MapPath("~/Reading/")

    If Not System.IO.Directory.Exists(folderPath) Then

        System.IO.Directory.CreateDirectory(folderPath)
    End If
4

0 回答 0