开发者

Convert vb.net asp.net code to C#

开发者 https://www.devze.com 2023-02-13 01:39 出处:网络
Checked=\'<%# iif(eval(\"isActive\")=\"True\",\"Fal开发者_StackOverflow中文版se\",\"True\")%>\'
Checked='<%# iif(eval("isActive")="True","Fal开发者_StackOverflow中文版se","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") %>'


Checked='<%# (bool)Eval("isActive") ? false : true %>'
0

精彩评论

暂无评论...
验证码 换一张
取 消