日期:2014-05-17  浏览次数:21088 次

大家帮我看一下语法错误
<form   name= "form1 "   method= "post "   action= "t_cmd.asp?action=super ">
<input   name= "SDate "   >     <input   name= "EDate "   >
<input   type= "submit ">
</form>
下面是t_cmd.asp
<%
SDate=trim(request( "SDate "))
EDate=trim(request( "EDate "))

'---------------------显示星期-----------------------
SDateTemp   =   SDate
do   while   (SDateTemp   <   EDate)
%>
<%=weekday(SDateTemp)%>
<%
SDateTemp   =   DateAdd( "d ",   1,   SDateTemp)
loop
%>

------解决方案--------------------
报什么错啊?
------解决方案--------------------
<form name= "form1 " method= "post " action= "t_cmd.asp?action=super ">
<input name= "SDate " > <input name= "EDate " >
<input type= "submit ">

这是什么东西???
回去好好先学好asp,多看看书
------解决方案--------------------
SDateTemp不是Datetime!是字符串