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 %>'
精彩评论