IsNull、rs、sum

<%
'response.write (IsNull(rs("month_finish_count_price")))
If IsNull(rs("month_finish_count_price"))=true Or Rs("month_finish_count_price") = "" then
response.write "--"
else
response.write (rs("month_finish_count_price"))
end if
%>

 

If IsNull(rs("month_finish_count_price"))=true   可以去掉  '=true '

直接写成:If IsNull(rs("month_finish_count_price"))

posted @ 2019-03-29 10:34  阿波罗任先生  阅读(164)  评论(0编辑  收藏  举报