How do you tell if a value is NULL in ASP Classic and show a message?
In this short but very powerful code, we will check to see if the Value is NULL or if it has data.
[ASP Classic NULL IF ELSE Statement]
CFFCS | CarrzSynEdit: | ASP/VBScript

strValue = "Something is here."
<%if IsNull(strValue)="True" then%>
No data is available for this query. 
Please try another query.
<%else%>
<%=strValue%>
<%end if%>

In this code, we will check whether the data exists; if it does, we will display it; if it does not, we will display a notice to the user.