Checked='<%# iif(eval("isActive")="True","False","True") %>'
What is the equivalent in c# for asp.net? I have tried my best to convert it but i could not.
Checked='<%# (bool)Eval("isActive") ? false : true %>'
Checked='<%# !(bool)Eval("isActive") %>'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.