提供imageurl时图像控件不显示图像

提供imageurl时图像控件不显示图像

本文介绍了提供imageurl时图像控件不显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...
我尝试像这样加载时加载图像
Image1.ImageUrl ="domain.com/httpdocs/admin/zestimg.jpg";
在浏览器中观看时,它会返回异常,例如
找不到404文件,但我在那里上传了图像,并具有读和写权限,我也尝试了许多方法,例如Server.MapPath(〜/admin/zestimg.jpg");并且也以这种方式Server.MapPath("../admin/zestimg.jpg");每次firebug软件显示未找到此异常文件时,我如何将图像地址提供给图像控件,请任何人可以帮助我
预先感谢

hi all...
i am try to load image when loading like this
Image1.ImageUrl="domain.com/httpdocs/admin/zestimg.jpg";
while watching in browser it returns exception like
404 file not found but image is there i uploaded as well as given read & write permissions also i tried in many ways like Server.MapPath("~/admin/zestimg.jpg"); and also in this way Server.MapPath("../admin/zestimg.jpg"); every time firebug software shows this exception file not found how can i give image address to image control please can any one help me Greatly Appreciate You
thanks in advance

推荐答案


这篇关于提供imageurl时图像控件不显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 02:40