Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
multiple condition is not working, plz check my below code

<%if (not rs("cid")="1" and not rs("bid")="1") then%>
<%=rs("course")%>
<%end if%>

if any one can suggest me, if i anything wrong in the above code

Thanks in advance
Posted

1 solution

try this...
VB
<%if ((rs("cid")<> 1 ) And (rs("bid")<> 1)) then%>
<%=rs("course")%>
<%end if%>

Happy Coding!
:)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900