Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是.Net 的新手,我有这个要求,我需要列出.Net 网页文件夹中存在的文件的名称。我该怎么做?请帮助和指导我
string path = Server.MapPath("~/folder/"); string[] files = Directory.GetFiles(path);