错误类型:
ADODB.Field (0x80020009)
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。
不知道怎么解决 涉及的页面也比较多

解决方案 »

  1.   

    <!--#include file="config.asp"-->
    <!--#include file="conn/conn.asp"-->
    <%
    response.ContentType = "text/html;charset=gb2312"
    Response.Buffer = True 
    Response.Expires = -1
    Response.ExpiresAbsolute = Now() - 1 
    Response.Expires = 0 
    Response.CacheControl = "no-cache" 
    path = request("path")
    if path <> "" then
    %>
    <embed src="<%=path%>" hidden="true" autostart="true" loop="true"></embed>
    <%
    else
    sql = "select top 1 path from audio order by id desc"
    set rs = conn.execute(sql)
    %>
    <embed src="<%=rs("path")%>" hidden="true" autostart="true" loop="true"></embed>
    <%
    end if
    %>
      

  2.   

    <!--#include file="config.asp"-->
    <!--#include file="conn/conn.asp"-->
    <%
    response.ContentType = "text/html;charset=gb2312"
    Response.Buffer = True  
    Response.Expires = -1
    Response.ExpiresAbsolute = Now() - 1  
    Response.Expires = 0  
    Response.CacheControl = "no-cache"  
    path = request("path")
    if path <> "" then
    %>
    <embed src="<%=path%>" hidden="true" autostart="true" loop="true"></embed>
    <%
    else
    sql = "select top 1 path from audio order by id desc"
    set rs = conn.execute(sql)
    if not rs.eof then
    %>
    <embed src="<%=rs("path")%>" hidden="true" autostart="true" loop="true"></embed>
    <%
    end if
    end if
    %>