无法从其“Visible”属性的字符串表示形式创建“System.Boolean”类型的对象。如何解决?

本文发布于 11 年前,部分内容可能已经失去参考价值。

错误提示:无法从其“Visible”属性的字符串表示形式“<%= true %>”创建“System.Boolean”类型的对象。

英文:Cannot create an object of type 'System.Boolean' from its string representation '<%= true %>' for the 'Visible' property.

解决办法:改为

<% if(true) { %>

内容

<% } %>
xoyozo 11 年前
转载请注明出处
云服务器 精选特惠
可能相关的内容