有关ASP中Getrows的问题
各位同仁:
请看下面Getrows使用的问题.
数据库库连接从略
Application.Lock()
Application("news")=recordsetnews.Getrows(5,0)
Application.UnLock()
.
.
.
.
<% dim news_index
news_index=0
if ISARRAY(Application("news"))then
While(news_index<=ubound(Application("news"),2))%>
<tr>
<td bordercolor=#FFFFFF bgcolor=#FAFAFA><div align="left"><A HREF="news.asp?id=<%response.Write news_index%>">
<%response.Write news_index&"."&Application("news")(0,news_index)%>
</A></div></td>
</tr>
<%news_index=news_index+1
Wend
end if%>
像 Application("news")(0,news_index)
如果我要选择表中第三\第四....例时,要怎么写呢?