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

看我的语法哪错了.

taoxinhui 发布于 2007-11-16 21:59, 427 次点击
因为我定义每页四十个我想在第二十页的时候输出<!--#include file="include/googlehengbigad.asp" -->这个文件
................
这个上面就是输出信息
WHILE rpagesize=20
response.write "<td>"
response.write ""<!--#include file="include/googlehengbigad.asp" -->""
response.write "</td>"
wend
RS_maga.MOVENEXT
rROWCOUNT = rROWCOUNT+1
.......................
麻烦各位帮帮我这个虾米
3 回复
#2
hmhz2007-11-16 22:50

最终测试,还是不能放在response.write ""里
还是要这样
response.write "<td>"
%>
<!--#include file="include/googlehengbigad.asp" -->
<%
response.write "</td>"

[此贴子已经被作者于2007-11-16 22:51:39编辑过]

#3
gdk20062007-11-17 16:46
直接&lt;!--#include file="include/googlehengbigad.asp" --&gt;
#4
天涯听雨2007-11-17 20:54

判断一下不就可以了
<%
if Page=20 then
%>
<!--#include file="include/googlehengbigad.asp" -->
<%
end if
%>

1