eval判断语句

    <asp:Label ID="lblType" runat="server" Text='<%#Eval("flag").ToString()=="1"?"订单":"咨询" %>'></asp:Label>

posted @ 2012-07-22 20:18  沐雪架构师  阅读(176)  评论(0编辑  收藏  举报