为何这样判断不行?
有个条件,就是当前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 错误提示在这行!
我该如何解决?
<% 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 错误提示在这行!
我该如何解决?
...全文
相关推荐
为什么Scrum不行?
这篇文章的原文在这里()(下文不是全译,也不是部分译,我只是把其总结,有我自己的发挥,但是原意大致不变),这篇文章完全是在调侃Scrum的,作者第一段就是一个免费声明,其说他是Scrum和其它敏捷方法的bigfan,他也认为Scrum100%对软件开发可行。作者使用Scrum5年了,也公开作过几次敏捷的分享会。他觉得写这篇文章只是为了好玩,因为他们戴上EdwarddeBono的blackhat(黑礼帽–是6个思考之帽中的一种——负面思考,思考事物的负面因素,这样才知道:它会起作用吗?缺点是什么?它有什么问题?为什么不能做。)因为本人经常站在Agile的风口浪尖,所以我有必要也来一个“免责声明”
碘盐吃久了想换无碘盐?不行!
碘盐吃久了想换无碘盐?不行!
高中历史之历史百科斯大林死后为何苏联就不行了?素材
高中历史之历史百科斯大林死后为何苏联就不行了?素材
今天不行!「Not Today!」-crx插件
今天不行!通过指定要阻止的站点来提高您的生产力和Web安全性。 今天不行!很简单,是一个易于使用的网站拦截器。只要指定要阻止的网站,就不会被允许访问这些网站。 对于新功能有什么建议?请记住留下反馈!找到这个扩展有用吗?请留下评论!这些东西帮助了很多。 (C)2014年,FongSoft。 支持语言:English (United States)
小学语文常用歇后语分类大全关于不行的歇后语
小学语文常用歇后语分类大全关于不行的歇后语


