使用MVC2显示包含来自webserver目录的文档列表的网格 [英] Display a grid that has list of documents from webserver directory using MVC2

查看:75
本文介绍了使用MVC2显示包含来自webserver目录的文档列表的网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在我的MVC2内联网网站应用程序中,这是我想要实现的目标,请指导我采取正确的方法。



1.显示这些列的简单网格 - 文件名,文件下载路径,文件大小,文件最后修改日期

2.以上所有字段均为文件属性并从Web应用程序本身的特定位置文件本身。例如:测试appname / App_Data / Repository / CorpDocs *文件夹





我已经在线研究了这个特定的场景,我看到了一些Jquery插件但没有一个与我需要的东西匹配。请给我一些建议,因为这是我的第一个MVC应用程序。

使用VS 2008,MVC2 Intranet Windows身份验证,C#3.5,IIS6.0



非常感谢,

MT

Hi,

In my MVC2 Intranet website application this is what i would like to achieve and please direct me towards right approach.

1.Simple grid that displays these columns- file name, file download path, file size, file last modified dates
2. All the above fields are the file properties and files itself from a particular location on the web application itself. Ex: Test appname/App_Data/Repository/CorpDocs* folder


I have researched online for this particular scenario and i saw few Jquery plugins but none matched to what exactly i needed.Please give me some suggestions as this is my first MVC application.
Using VS 2008, MVC2 Intranet Windows authentication, C#3.5, IIS6.0

Thank you so much,
MT

推荐答案

关注本文,语法更改很少与MVC2兼容:





http://www.dotnetcurry.com/ShowArticle.aspx?ID=807 [ ^ ]





这对我帮助很大,因为我是新手MVC我不知道webgrid HTML助手,对不起。我无法在网上找到很多帮助。



无论如何,谢谢,只是想发布我发现的信息很有帮助。



-MT
Followed this article with few syntax changes to get compatible with MVC2:


http://www.dotnetcurry.com/ShowArticle.aspx?ID=807[^]


This helped me a lot, since i am new to MVC i had not idea of webgrid HTML helpers, sorry. I couldnt find much help online either with the same.

Anyways, thanks and just thought of posting the info what i found was helpful.

-MT


这篇关于使用MVC2显示包含来自webserver目录的文档列表的网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆