asp 问题 高手请进 在线等答案!!!!

<%TrNum=0peagbr=0't1=trim(Request("t1"))msql="Select*from[liuyan]where1=1"ifSmallClas... <%
TrNum =0
peagbr =0
't1 = trim(Request("t1"))
msql="Select * from [liuyan] where 1=1"
if SmallClass<>"" then
msql=msql&" and B_MSN="&rid&" "
end if
msql=msql&" Order By B_date Desc"
%>
<%
Set mypage=new zh_Showpage
PSize=MaxPerPage_News
mypage.getconn=Conn
mypage.getsql=msql
mypage.pagesize=21
set rs=mypage.getrs()

If rs.Eof Then
Response.Write "没有找到信息!"
'Response.Write hdlx
Else

For TrNum=1 To mypage.pagesize
If rs.Eof Then Exit For
peagbr =peagbr+1
%>

<%
if peagbr<3 then
%>

<td>
s
</td>
<td>
s
</td>
<td>
s
</td>
<%
else if peagbr=3 then
peagbr =0
%>
</tr>
<tr>
<td>
s
</td>
<td>
s
</td>
<td>
s
</td>
<%
end if
rs.MoveNext
Next
'Response.Write("</table>")&vbcrlf
Set NewsListrs = Nothing
If TrNum >=1 Then
Response.Write(""&mypage.showpage()&"")
End If
End If
%>
Microsoft VBScript 编译器错误 错误 '800a041f'

错误的 'Next'

/ddd/reservation.asp,行 231

Next
^

不好意思刚刚还没有发完整
展开
 我来答
匿名用户
2010-07-21
展开全部
else if peagbr=3 then asp里面好像没这种写法吧

好像是elseif peagbr=3 then
zhangfan0909
2010-07-21 · TA获得超过792个赞
知道小有建树答主
回答量:926
采纳率:0%
帮助的人:557万
展开全部
做什么啊?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式