Hi there..
I have an if..else statement that will display either the student is qualified to go for competition or not based from the value in database. But the codes seem did not work well..there's something wrong with the codes that I can't figure it out what is it?
Below are the codes :-
<% If (rs_view.Fields.Item("StudentStatus").Value<>"OK") Then %>
<strong><font color="#3300FF" size="-1" face="Arial, Helvetica, sans-serif">
<%Response.Write("You are QUALIFIED to go for competition")%>
</font></strong>
<% Else %>
<strong><font color="#FF0000" size="-1" face="Arial, Helvetica, sans-serif">
<%Response.Write("You are NOT QUALIFIED to go for competition")%>
</font></strong>
<% End If %>
What's wrong with the codes? Is it because of this symbol '<>'? Really need your help.. thanks..
I have an if..else statement that will display either the student is qualified to go for competition or not based from the value in database. But the codes seem did not work well..there's something wrong with the codes that I can't figure it out what is it?
Below are the codes :-
<% If (rs_view.Fields.Item("StudentStatus").Value<>"OK") Then %>
<strong><font color="#3300FF" size="-1" face="Arial, Helvetica, sans-serif">
<%Response.Write("You are QUALIFIED to go for competition")%>
</font></strong>
<% Else %>
<strong><font color="#FF0000" size="-1" face="Arial, Helvetica, sans-serif">
<%Response.Write("You are NOT QUALIFIED to go for competition")%>
</font></strong>
<% End If %>
What's wrong with the codes? Is it because of this symbol '<>'? Really need your help.. thanks..