问题描述
我希望允许用户在我的 ASP.NET MVC 应用程序中浏览文件并将其上传到服务器.
I'm looking to allow a user to browse and upload a file to the server in my ASP.NET MVC application.
如果可能的话,我有兴趣添加一个进度条来显示已上传文件的多少.
If it is possible, I'm interested in adding a progress bar to show how much of the file has been uploaded.
有没有人有这样的例子?我应该使用 jQuery 来执行此操作吗?
Does anyone have any examples of something like this? Should I use jQuery to do this?
推荐答案
ASP.NET MVC 的美妙之处在于,您可以选择几乎任何开箱即用的上传组件,并且毫无问题地使用它.
The beauty of ASP.NET MVC is that you can choose almost any out of the box upload component out there and use it without any problems.
这个 jQuery 插件是一个不错的选择,也是我在项目中使用的一个:上传
This plugin for jQuery is a great choice and one that I use in my projects: Uploadify
这篇关于如何通过 ASP.NET MVC 上传文件并显示进度条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)