以下是我邦的:
<asp:HyperLink ID= "HyperLink1 " runat= "server " Width= "35px " Enabled= ' <%# Eval( "IsAdmin ").ToString()== "1 "? "False ": "True " %> ' </asp:HyperLink>
报错:无法将类型“string”转换为“bool”,我强制转换也无效。
------解决方案--------------------------------------------------------
去掉 "False " "True "的 " "号