勇气 光良:asp中的if语句问题

来源:百度文库 编辑:高考问答 时间:2024/05/03 03:55:15
请帮忙修改一下代码。谢谢!!

<%
if rs("address")="" then
response.write "未填"
elseif
rs("mobile")="" then
response.write "未填"
else
end if
%>

<%
if rs("address")="" then
response.write "未填"
end if
'两者之间没有选择关系吧,为什么用Else
if rs("mobile")="" then
response.write "未填"
'这里else没有东西呢为什么还是写?
end if
%>