国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 編程設計 > 正文

如何利用數據庫內容建立一個下拉式列表?

2020-06-19 13:52:17
字體:
來源:轉載
供稿:網友

如何利用數據庫內容建立一個下拉式列表?

<% 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

' 清空對象
%>

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 临桂县| 陇南市| 孟津县| 西安市| 阿尔山市| 盘山县| 普定县| 建平县| 林州市| 枣阳市| 堆龙德庆县| 湄潭县| 昌都县| 绩溪县| 绿春县| 老河口市| 信阳市| 庄河市| 苏尼特右旗| 枣阳市| 潼南县| 永清县| 鸡西市| 淮阳县| 镇宁| 景宁| 赤壁市| 石屏县| 利津县| 唐山市| 高阳县| 鹤岗市| 深州市| 宁强县| 徐州市| 彩票| 启东市| 万盛区| 屯留县| 湘乡市| 孟津县|