请教几个问题!
1 logo有什么作用?
2 连数据库时,set conn=server.createobject("adodb,conn")
是不是可以不用?直接写
set rs=server.createobject("adodb,rs")
sql=""
rs.open.sql,1,3
3 什么时候用到response.buffer=true和response.exprire=0,-1?请举个例子
4 下面这段代码我是把rssk记录集的记录显示出来:
有几条显示几条(最多3条)但如果没有3条的话,下面的“更多”就没有必要显示了!我想问的是怎么实现在记录数不3条时 不显示“更多”
<% for i=1 to 3
if not rssk.EOF then
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10%"><div align="center"><img src="image/point03.gif" width="8" height="7"></div></td>
<td width="90%"><div align="left"><a href="#" onClick="show('asp/KindDisplay/showall.asp?all=<%=rssk("book_id")%>&class=<%=rssk("class_id")%>');"><%=rssk("book_name")%></a></div></td>
</tr>
</table>
<%
rssk.movenext
end if
next
%>
</td>
</tr>
<tr>
<td><div align="right">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="58%" height="12"> </td>
<td width="42%"><a href="asp/KindDisplay/KindDisplay.asp?kind=2"><font color="#FF0000">…>>更多</font></a></td>
</tr>
</table>
<a href="asp/KindDisplay/KindDisplay.asp?kind=2"></a></div></td>
</tr>
</table></td>
</tr>