嵌入框架为何不好用了?

qdpb 2003-09-30 09:47:33
单独好用,一但嵌入就显示不出了,奇怪。
怎么解决?
<td><%
Dim byx_zihua1
Dim byx_zihua1_numRows

Set byx_zihua1 = Server.CreateObject("ADODB.Recordset")
byx_zihua1.ActiveConnection = MM_byxt_STRING
byx_zihua1.Source = "SELECT * FROM byx_zihua"
byx_zihua1.CursorType = 0
byx_zihua1.CursorLocation = 2
byx_zihua1.LockType = 1
byx_zihua1.Open()

byx_zihua1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 99999
Repeat1__index = 0
byx_zihua1_numRows = byx_zihua1_numRows + Repeat1__numRows
%>

<table border="1">
<tr>
<td height="36">id</td>
<td>class</td>
<td>author</td>
<td>name</td>
<td>size</td>
<td>price</td>
<td>comment</td>
<td>onsell</td>
</tr>
<% While ((Repeat1__numRows <> 0) AND (NOT byx_zihua1.EOF)) %>
<tr>
<td><%=(byx_zihua1.Fields.Item("id").Value)%></td>
<td><%=(byx_zihua1.Fields.Item("class").Value)%></td>
<td><%=(byx_zihua1.Fields.Item("author").Value)%></td>
<td>
<%response.Write"<a href="%>
<%response.Write """"%>

<%= (byx_zihua1.Fields.Item("httpad").Value)%>
<% response.Write """"
response.Write ">" %>
<%= (byx_zihua1.Fields.Item("name").Value) %>
<% response.Write("</a>") %>

</td>
<td><%=(byx_zihua1.Fields.Item("size").Value)%></td>
<td><%=(byx_zihua1.Fields.Item("price").Value)%></td>
<td><%=(byx_zihua1.Fields.Item("comment").Value)%></td>
<td><%=(byx_zihua1.Fields.Item("onsell").Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
byx_zihua1.MoveNext()
Wend
%>
</table>
<%
byx_zihua1.Close()
Set byx_zihua1 = Nothing
%></td>
...全文
43 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
qdpb 2003-10-02
  • 打赏
  • 举报
回复
qing
qdpb 2003-10-02
  • 打赏
  • 举报
回复
谢谢
Qthinker 2003-10-02
  • 打赏
  • 举报
回复
把前面的<td>和后面的</td>去掉看看
Qthinker 2003-10-02
  • 打赏
  • 举报
回复
</table>
<%
byx_zihua1.Close()
Set byx_zihua1 = Nothing
%></td><多了个"</td>">
qdpb 2003-10-02
  • 打赏
  • 举报
回复
孟子E章 2003-10-01
  • 打赏
  • 举报
回复
<td><%

-->

<%

??看源代码生成的是什么
qdpb 2003-10-01
  • 打赏
  • 举报
回复
ding
shanxing 2003-10-01
  • 打赏
  • 举报
回复
顶一下
qdpb 2003-10-01
  • 打赏
  • 举报
回复
但是嵌入之后就只有表头了
PeterMCT 2003-10-01
  • 打赏
  • 举报
回复
可以的.

qdpb 2003-10-01
  • 打赏
  • 举报
回复
是个表格,表格不可以嵌入frame么?
qdpb 2003-09-30
  • 打赏
  • 举报
回复
以上代码存为一个asp文件可以显示一个表
但是放到框架中只能显示表头了
starboy1413 2003-09-30
  • 打赏
  • 举报
回复
看不下去,有什么问题说呀~~~~~~
stefli 2003-09-30
  • 打赏
  • 举报
回复
看不懂,你想说什么啊?

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧