图片路径不对吧,查看html源文件看看img的src中的路径对不对

解决方案 »

  1.   

     pageload中 
    string imgURL=""; 
    ImageButton1.ImageUrl=imgURL; 你就没有给图片路径赋值啊
    怎么能显示图片呢?
      

  2.   


    string imgURL=""; 
    ImageButton1.ImageUrl=imgURL;imgURL=""
      

  3.   

    我设置图片路径了 这里没有写出来 我在前台的控件属性里面设置路径可以显示图片,但是在后台string imgURL="路径";  就是个叉叉 为什么啊
      

  4.   

    应当是路径问题,最好有根路径,如"/images/xxx.jpg"
      

  5.   

    加个@转义一下
    string imgURL=@"路径";