2
Answers

Eval Condition

Ramco Ramco

Ramco Ramco

1y
531
1

Hi

  In below code i want if Eval(Onbreak) = 'OnBreak then this condition should not get evaluated . If it is not onbreak then this condition should be evaluated

                               

                 <asp:Literal ID="ltrlBookDeliveredOn" runat="server" Text='<%# Eval("BookDeliveredOn","{0: dd-MM-yyyy}") != "" ?  Eval("BookDeliveredOn","{0: dd-MM-yyyy}") : Eval("TentativeDeliveryDate","{0: dd-MM-yyyy}")%>'></asp:Literal>

Thanks

Answers (2)