答案: <%
if isnull(rs(字段名))=true or rs(字段名)="" then
'true表示为空
else
'false表示不为空
end if
if rs(字段名) is null or rs(字段名)="" then
'表示为空
else
'表示不为空
end if
if not rs(字段名) isnull or rs(字段名)<>"" then
'表示不为空
else
'表示为空
end if
%>
上一个:SQL数据库的连接方式
下一个:asp解压Zip文件(Wscript.Shell和Winzip command line;Java组件)