c# - 在点网中编写一次上传多个文件的功能(特别是 C#)

标签 c# .net asp.net file-upload

我想在 dot net 中上传文件时编写“一次上传多个文件”功能。任何帮助将不胜感激。我不允许使用 JQuery。我想要的只是核心 dotnet。

最佳答案

在 HTML4 中根本做不到。但是在 HTML5 中你可以使用

<input type="file" multiple>

http://www.w3.org/TR/html-markup/input.file.html#input.file.attrs.multiple

关于c# - 在点网中编写一次上传多个文件的功能(特别是 C#),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3466257/

相关文章:

c# - SoapExtension 未加载

asp.net - 您可以在 IIS 中运行 asp.net core 3.0 gRPC CLIENT 吗? (可能在 Azure 上?)

c# - 使用 setter 方法的 Json.Net 反序列化

c# - 与 .net 中的 Web 服务共享接口(interface)

.net - 如何从SortedList <int,T>创建List <T>?

程序中嵌入的 C# 序列号

asp.net - 负载均衡器如何与 ASP.NET session 配合使用

c# - sql异常,缺少参数化查询

c# - 如何使用 C# Word Interop 清除 MS Office 剪贴板

c# - 我如何才能在罗斯林返回?