If Not IsNull in ASP Classic
问题 I'm fairly new to asp and I've got a syntax error I would like help on if you can. I've got an ASP page that shows a table that pulls data from sql. Most of the data hasn't been populated yet so returns a NULL. The data type in question is numeric. I need to FormatNumber the rs when it is not null and not populate if it is. This is what I have <%=If Not IsNull(rs("ContractValue")) Then FormatNumber(rs("ContractValue"),0) end if%> But as mentioned, im getting a syntax error. What am i doing