asp判断为空
ASP 2008/1/25 8:03:08 点击:不统计
在asp中经常用到的判断为空
比如 if rs("某个字段")="" then 或者是 if rs("某个字段")<>"" then
这个方法有的时候用不对
还有一种判断是否为空的
那就是 isnull()函数
比如 if isnull(rs("某个字段")) then 如果为空
如果不为空 if not isnull(rs("某个字段")) then
关键词 isnull 判断是否为空 asp
·上一篇:检查是否存在指定的文件 >> ·下一篇:sql判断为空. >>