本帖最后由 csser 于 2010-12-03 14:24:54 编辑

解决方案 »

  1.   

    <img src="http://www.xxx.com/Upload/upSImg/<%#Eval("pic").ToString() == "" ? "hstx.jpg" : Eval("Pic") %>" width="120" height="90" title="<%#Eval("productName") %>" />是这样吗?
    我的问题类别选错了 借用一下本房   
    这是我的问题地址 :
    http://topic.csdn.net/u/20101129/13/a6a3a5b8-6437-41fc-b97a-926df10030a5.html     
    谢谢
      

  2.   

     <%# string.IsNullOrEmpty(Eval("ARTICLEpic").ToSring())?(Container.ItemIndex%2==0?")?"<img src=\"/UploadFolder/NewsPic/20101121034108.jpg\" width=86 height=66 style=border:0; />":""):"Eval("ARTICLEpic").ToString() %>