Ho creato un recordset:
<%
'RECORDSET
set RsQua_PROGETTO = Server.CreateObject("ADODB.Recordset")
sql = "select CODID,DENOMINAZIONE from Utente order by DENOMINAZIONE"
RsQua_PROGETTO.open sql, connobj
%>
e l'ho usato:
<select name="Progetto" id="Progetto" style="width:450px">
<option selected></option>
<% while not RsQua_PROGETTO.eof %>
<option value='<%=RsQua_PROGETTO("CODID")%>'><%=RsQua_PROG ETTO("DENOMINAZIONE")%></option>
<% RsQua_PROGETTO.movenext
wend %>
</select>
Come si fà a chiudere e distruggere il recordset???
Grazie.
Vincenzo

Rispondi quotando