ASP.Net MVC2 中用户文件上传进度如何
我正在使用 Asp.net MVC2 并尝试编写一个页面,该页面允许用户将文件上传到服务器,然后将文件的记录插入到数据库中。
到目前为止,我已经一切正常,但我正在努力研究如何向用户显示文件上传的进度或通知他们文件正在上传到服务器。
有人可以帮助我并解释这样做的最佳方法吗?
非常感谢,
莫里斯
I am playing around with Asp.net MVC2 and trying to write a page which allows a user to upload a file to a server and then inserts a record of the file into a DB.
So far I have got everything working but I am struggling to workout how to show the user progress of the file upload or to notify them that the file is being uploaded to the server.
Can someone help me and explain the best way of doing this?
Many thanks,
Morris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用支持进度的客户端上传控件。 这是一个。
You could use client-side upload controls that support progress. Here's one.