源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

如何利用数据库内容建立一个下拉式列表?

  • 时间:2022-11-22 21:58 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:如何利用数据库内容建立一个下拉式列表?
[h2]如何利用数据库内容建立一个下拉式列表? [/h2]<% myDSN="DSN=xur;uid=xur;pwd=xur" mySQL="select * from authors where AU_ID<100" set conntemp=server.createobject("adodb.connection") conntemp.open myDSN set rstemp=conntemp.execute(mySQL) if rstemp.eof then response.write ",数据库为空!" response.write mySQL conntemp.close set conntemp=nothing response.end  end if%> <%do until rstemp.eof %> <% rstemp.movenext loop rstemp.close set rstemp=nothing conntemp.close set conntemp=nothing

' 清空对象 %>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部