make sure the image is in the current directory on the web server, <asp:Image runat="server" ImageUrl="wjgl.jpg" />or<img src="wjgl.jpg">

解决方案 »

  1.   

    感谢saucer(思归/MVP)这么快就给我回复,但很遗憾,实验后,问题还未能解决。
      

  2.   

    你尽量使用绝对路径,如下:
    在你的公共类里面建立这样一个属性,其值为:
    "Http://" + HttpContext.Current.Request.Url.Host +HttpContext.Current.Request.ApplicationPath
      

  3.   


    what if you dohttp://YourSite/YourDirHere/wjgl.jpgdo you see the image?
      

  4.   

    这样设置应该可以了:
    <asp:Image runat="server" ImageUrl="wjgl.jpg" />
    估计是路径 的问题
    关注
      

  5.   

    试试<asp:Image runat="server" ImageUrl="./wjgl.jpg" />
      

  6.   

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            '在此处放置初始化页的用户代码
             Me.Image.ImageUrl="wjgl.jpg"       End Sub