阅读背景:

如何在ASP.NET MVC中浏览服务器上的文件?

来源:互联网 

I'm very new to ASP.NET MVC, but even more than that, I'm very new to web development in general. What I want to do is simple. I have a folder in my MVC project called /Content/Images where I have some images. I'd like for my controller to grab all the images in this folder, and send them to the view. The view will then render these images in a div, and add a Javascript function to them on their click event. So, my question basically is, how do you browse the files on the server in ASP.NET MVC.I'm very new to ASP.NET MVC, but even more than




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: