<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>
转载于:https://www.cnblogs.com/dfsxh/archive/2008/11/12/1331939.html