关于asp里if then和if not then的问题一段代码photo=rs("photo")if photo = "" then response.write("无照片")elseresponse.write("

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 03:43:48

关于asp里if then和if not then的问题一段代码photo=rs("photo")if photo = "" then response.write("无照片")elseresponse.write("
关于asp里if then和if not then的问题
一段代码
photo=rs("photo")
if photo = "" then
response.write("无照片")
else
response.write("

关于asp里if then和if not then的问题一段代码photo=rs("photo")if photo = "" then response.write("无照片")elseresponse.write("
应该修改为:
photo = trim(rs("photo"))
if photo = "" or isNull(photo) then
response.write("无照片")
else
response.write("