MVC4中的Datagrid列出上传的文件 [英] Datagrid in MVC4 to list uploaded files
本文介绍了MVC4中的Datagrid列出上传的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有cshtml页面,它有一个浏览按钮和一个添加按钮。我可以浏览文件,当我单击添加按钮时,我想在同一页面上的网格上显示文件名和删除选项。每次添加文件时我都要更新网格并添加文件。如何做到这一点。我是 MVC 的新手。在此先感谢。
I have cshtml page, it has a browse button and an add button. I can browse a file and while I click the add button I want to show the file name and a delete option on a grid on the same page. Each time while adding the files I want to update the grid with the files added. How this can be done. I am new to MVC. Thanks in advance.
推荐答案
Hello Vishnu,
请查看以下帖子:
带进度条的ASP.NET文件上传 [ ^ ]
谢谢,
Imdadhusen
Hello Vishnu,
Please look into following post:
ASP.NET File Upload with Progress Bar[^]
Thanks,
Imdadhusen
这篇关于MVC4中的Datagrid列出上传的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文