<td width="378" align="right" style="padding-right:15px;">您现在的位置:<a class="submenu" href="index.asp">首页</a> -
<%
if BigClassID <> "" then
%>
<% dim dh
set rs=server.CreateObject("adodb.recordset")
sql="select * from bigClass where BigClassID="&BigClassID
rs.open sql,conn,1,1
if not rs.eof then
BigClassName=trim(rs("BigClassName"))
dh="<a class=""submenu"" href=""products.asp"" target=""_blank"">全部产品</a> - <a class=""submenu"" href=""products.asp?BigClassID=""" & BigClassID & " target=""_blank"">" & BigClassName & "类</a> - " & BigClassName & ""
rs.close
set rs=nothing
%>
<%
end if
%> </td>
<%
if BigClassID <> "" then
%>
<% dim dh
set rs=server.CreateObject("adodb.recordset")
sql="select * from bigClass where BigClassID="&BigClassID
rs.open sql,conn,1,1
if not rs.eof then
BigClassName=trim(rs("BigClassName"))
dh="<a class=""submenu"" href=""products.asp"" target=""_blank"">全部产品</a> - <a class=""submenu"" href=""products.asp?BigClassID=""" & BigClassID & " target=""_blank"">" & BigClassName & "类</a> - " & BigClassName & ""
response.Write(dh)
或者
dh="<a class=""submenu"" href=""products.asp"" target=""_blank"">全部产品</a> - <a class=""submenu"" href=""products.asp?BigClassID="""& rs("BigClassID") &" target=""_blank"">"& rs("BigClassName") &"类</a> - "& rs("BigClassName") &""
response.Write(dh)
end ifrs.close
set rs=nothing
%>
<%
end if
%> </td>