Hi
I have below statement . It is showing Arriving . But since Eval(OnBreak) = 'Break' i want that it should show Break. If Eval(OnBreak) is '' then it should have shown arriving.
Thanks
Hi
I have below statement . It is showing Arriving . But since Eval(OnBreak) = 'Break' i want that it should show Break. If Eval(OnBreak) is '' then it should have shown arriving.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Apr 12, 2023, 5:57 AM
Hello Ramco,
refer this one : https://www.c-sharpcorner.com/Forums/eval-in-aspx
Try this one,
Amit MohantyPosted Apr 12, 2023, 4:28 AM
Tuhin PaulPosted Apr 12, 2023, 2:28 AM
As RajKiran Sir has posted correctly, in his modified code, the conditional statement has been updated to check for the following cases:
1. If Eval("BookDeliveryStatus") is "Dispatched", it will show "Arriving".
2. If Eval("OnBreak") is "Break", it will show "Break".
3. If Eval("BookDeliveryStatus") is empty, it will show "Arriving".
4. it will show the value of Eval("BookDeliveryStatus").
But still would like to see the code what you have implemented if it is possible for you to show Sir!
Ramco RamcoPosted Apr 12, 2023, 1:19 AM
Hi Rajkiran
same issue
Thanks
Rajkiran SwainPosted Apr 11, 2023, 6:38 PM