Eval()特殊绑定

<table>
<tr>
        <td align="right" class="line01" style="height: 30px">
            审核结果:</td>
        <td align="left" class="line01" style="height: 30px">
            <%#Eval("Barcode").Equals("") ? "<font color='red'>待审核</font>" : "<img src='http://www.mywebsite.com/barcode/barcode.dll?id="+Eval("Barcode")+"'/>"%>
        </td>
</tr>
</table>
posted @ 2008-11-12 12:29  林台山人  阅读(135)  评论(0编辑  收藏  举报