为何这样判断不行?
有个条件,就是当前sesssion不为空,并且,数据库里的passed字段为false时,显示图片..为何我这样判断,会出错..谢谢
<% if Session("UserName")="" then %>
<%if <%=rs("Passed")%>=false then
<a href='productshow_detail.asp?ID=<%=rs1("ID")%>' target=_blank><img border="0" height="75" src="<%=rs1("DefaultPicUrl")%>" width="100" onmouseover="show('<%=rs1("DefaultPicUrl")%>');" onmouseout="mouseout();"></a>%>
<%else
response.write "New project for the member only"
end if %>
<%else
<a href='productshow_detail.asp?ID=<%=rs("ID")%>' target=_blank><img border="0" height="75" src="<%=rs("DefaultPicUrl")%>" width="100" onmouseover="show('<%=rs("DefaultPicUrl")%>');" onmouseout="mouseout();"></a>%>
<% end if %>
<%=rs("Passed")%>=false 错误提示在这行!
我该如何解决?