谁帮我把这段ASP代码改下

来源:百度知道 编辑:UC知道 时间:2024/05/22 18:35:46
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28"><div align="right">

<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="15"><span class="cs"><img src="images/14.gif" alt="icon" width="5" height="5" /></span></td>
<td width="120"><div align="center"><a href='type.asp?typeid=<%=rs("id")%>' class="bt"><%=left(rs("name"),27)%></a></div></td>
<td width="16"> </td>
</tr>
</table>

楼主你的代码不给全,我只能把我的代码发给你,你参考一下,不懂在给我发消息
<table width="640" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
sqlh="select top 9 * from bigclass"
set rsh=server.createobject("adodb.recordset")
rsh.open sqlh,conn,1,1
%>
<%a=1
do while not rsh.eof%>
<td height="180"><table width="173" height="187" align="center">
<tr>
<td width="135" height="137"><div align="center">
<table width="159" align="center" >
<tr>
<td><div align="center"><a href="cp.asp?bigclass=<%=rsh("bigclass")%>"><img src="<%=rsh("pic")%>" width="127" height="127" border="0"></a>