如何判断image字段里是否为空值?

for123 2004-08-09 02:05:30
假设img1字段,里面可能有img图片也可能为Null,
如何判断?
if isNull img1 then
....
end if

right?

...全文
286 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
for123 2004-08-09
  • 打赏
  • 举报
回复
img图片image字段能用img1=""来比较?开玩笑吧?
baby21st 2004-08-09
  • 打赏
  • 举报
回复
刚才看错了, 其实这样就可以了
if rs("img1") = "" then

end if


flyskywlh 2004-08-09
  • 打赏
  • 举报
回复
if len(rs("img1"))>0 then

end if

这个正解
colinliu 2004-08-09
  • 打赏
  • 举报
回复
if len(rs("img1"))>0 then

....

end if

if isNull(rs("img1")) then
....
end if
baby21st 2004-08-09
  • 打赏
  • 举报
回复
if img1 = "" then

end if

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧