作业帮 > 综合 > 作业

关于asp里if then和if not then的问题

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/15 05:46:29
关于asp里if then和if not then的问题
一段代码
photo=rs("photo")
if photo = "" then
response.write("无照片")
else
response.write("
应该修改为:
photo = trim(rs("photo"))
if photo = "" or isNull(photo) then
response.write("无照片")
else
response.write("