下面代码的产品分类是纵向的,怎样改成横向的?跪求高手帮小女子解答,谢谢。

[复制链接]
查看11 | 回复3 | 2011-3-12 08:36:58 | 显示全部楼层 |阅读模式
%

Function ListSort(id)
Dim rs,sql,i,ChildCount,FolderType,FolderName,onMouseUp,ListType
Set rs=server.CreateObject(\"adodb.recordset\")
sql=\"Select * From \"table border=\'0\' cellspacing=\'0\' cellpadding=\'0\'\")
while not rs.eof

ChildCount=conn.execute(\"select count(*) from \"\"
else
FolderType=\"SortFolderClose\"
ListType=\"SortListline\"
onMouseUp=\"SortChange(\'a\"\"
end if
FolderName=rs(\"SortName\")

end if

response.write(\"tr\")

response.write(\"td nowrap id=\'b\"/tdtd nowrapa href=\'\"\"/a\")

response.write(\"/td/tr\")

if ChildCount0 then
%


%

end if

rs.movenext

i=i 1
wend
response.write(\"/table\")
rs.close
set rs=nothing
end function
\'生成所属类别--------------------------
Function SortText(ID)
Dim rs,sql
Set rs=server.CreateObject(\"adodb.recordset\")
sql=\"Select * From \"defds123Datafromdefds123\" where ID=\"defds123ID
rs.open sql,conn,1,1
SortText=rs(\"SortName\")
rs.close
set rs=nothing
End Function
回复

使用道具 举报

千问 | 2011-3-12 08:36:58 | 显示全部楼层
<pre id=\"best-answer-content\" class=\"reply-text mb10\">修改下面的代码
response.write(\"tr\")

response.write(\"td nowrap id=\'b\"/tdtd nowrapa href=\'\"\"/a\")

response.write(\"/td/tr\")

















<h4 class=\"ask\">追问





<pre class=\"replyask-text\" id=\"content-1489434\">wow,可以了,太感谢了
回复

使用道具 举报

千问 | 2011-3-12 08:36:58 | 显示全部楼层
<pre class=\"replyask-text\" id=\"content-1489218\">换上去不行耶,程序出错,呜呜
回复

使用道具 举报

千问 | 2011-3-12 08:36:58 | 显示全部楼层
<pre class=\"replyask-text\" id=\"content-1489400\">什么错误?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行