isNull Function

Have you ever done this?

<%
if IsNull(rs("somefield")) then
    sVariable = ""
else
    sVariable = rs("somefield")
end if
%>


You can accomplish the same by doing the following:

<%
sVariable = "" & rs("somefield")
%>


asp isNull isNull Function Recordset


Back To Top
© 1998 - 2024 psacake.com
Version 7.21 | Advertise on this site