开发者

Convert vb.net asp.net code to C#

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜