房天下 > 房天下问答 > 业主生活 > 其他
  • 读取数据库字段,高手帮忙看看哪里有错误

    <% set rs=server.createobject("adodb.recordset") sql="select * from BigClass order by BigClassID desc" rs.open sql,conn,1,1 %> <tr> <td width="257" height="29" background="images/index_r12_c1a.jpg" align="center"> <a href="Products.asp?BigClass=<%=rs("BigClassName")%>"><%=rs("BigClassName")%> </a> </td> </tr> <% do while not rs.eof rs.movenext loopset rs=nothingconn.closeset conn=nothing %>

    提问者:bzlts

    发布于2010-11-17

共1个回答
  • 伟德国际 丨Lv 4
    do while not rs.eof 这个东西要 <% do while not rs.eof %>放在<tr>上面,或者do while not rs.eof直接放在rs.open sql,conn,1,1下面。要不有什么意义?
    +1 2010-11-17 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。