注册 登录
编程论坛 ASP.NET技术论坛

这样写怎么会出错的呢

lele2007 发布于 2008-02-18 17:00, 936 次点击
<%if time >=#6:00:00# and time<=#11:29:00# then%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%elseif time >=#11:30:00# and time<=#14:30:00# then%>
<%=<!-- #include file="inc/lele_2.asp"-->%>
<%elseif time >=#14:31:00# and time<=#17:59:00# then%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%elseif time >=#18:00:00# and time<=#22:00:00# then%>
<%=<!-- #include file="inc/lele_2.asp"-->%>
<%else%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%end if%>
--------------------------
请问一下这样写出错在哪里呢?
3 回复
#2
lele20072008-02-18 19:05
<%if time >=#6:00:00# and time<=#11:29:00# then%>
<!-- #include file="inc/lele_1.asp"-->
<%elseif time >=#11:30:00# and time<=#14:30:00# then%>
<!-- #include file="inc/lele_2.asp"-->
<%elseif time >=#14:31:00# and time<=#17:59:00# then%>
<!-- #include file="inc/lele_1.asp"-->
<%elseif time >=#18:00:00# and time<=#22:00:00# then%>
<!-- #include file="inc/lele_2.asp"-->
<%else%>
<!-- #include file="inc/lele_1.asp"-->
<%end if%>
----------------------------------------------------
自己晕自己了,晕晕!
#3
willam2008-02-20 11:48
请问是你 还是asp的啊,,
我看是asp的哦
不过问题还是你自己解决了
#4
lele20072008-02-21 11:50
呵呵,是呀,是ASP的.[bc10] 哟,论坛的表情换了.呵呵
1