当前位置:编程学习 > C#/ASP.NET >>

Repeater 绑定

--------------------编程问答-------------------- <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     
谢谢 --------------------编程问答--------------------  <%# 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() %>
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,