给你一个完整的例子吧:
<%
Set Conn=server.CreateObject("ADODB.Connection")
Conn.Open "数据源或连接字符串"
Set Rs=Server.CreateObject("ADODB.RecordSet")
Rs.open "表名或SQL语句",Conn
Response.write "<select name='"&列表框名字&"'>"
While Not Rs.Eof
Response.write "<option value="&Rs("字段名")&">"&Rs("字段名")&"</option>"
Rs.MoveNext
Wend
Response.write "</select>"
Set Rs=nothing
Set Conn=nothing
%>