ASP高手进!
我想让加_blank进去该怎么加啊?就是单击每条都打开新页面!
<a href="index.asp?leixing=<%=rs("typeid")%>">
<%
dim max
max=10
if len(rs("typename"))>max then
response.write left(rs("typename"),max)&"..."
else
response.write rs("typename")
end if
%>
</a></td>
</tr>
</table>
</center>
<%
rs.movenext
loop
rs.close
set rs=nothing%>
参考答案:<a href="index.asp?leixing=<%=rs("typeid")%>" target="_blank">
<%
dim max
max=10
if len(rs("typename"))>max then
response.write left(rs("typename"),max)&"..."
else
response.write rs("typename")
end if
%>
</a></td>
</tr>
</table>
</center>
<%
rs.movenext
loop
rs.close
set rs=nothing%>