如何在ASP.NET C#中显示来自不同本地驱动器的图像 [英] How to display image from different local drive in ASP.NET C#

查看:71
本文介绍了如何在ASP.NET C#中显示来自不同本地驱动器的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

My project Location is I: drive. but images stored J: drive. properly stored. Images are not showing from J: drive using asp.net c# 





我尝试过:





What I have tried:

Please Help , 
How to display image from different local drive using asp.net C# with Gridview

推荐答案

一旦你理解了代码是如何工作的,这真的很简单。无论您的代码在何处运行,该计算机都必须能够访问您指定的任何路径,并且运行IIS的帐户需要具有足够的权限。把这些做对,这没什么大不了的。
It's really very simple once you understand how the code works. Wherever your code is running, that machine must have access to whatever path you specify and the account running IIS needs to have sufficient permissions. Get those right and it's no big deal.


这篇关于如何在ASP.NET C#中显示来自不同本地驱动器的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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