Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/06/2003, 09:42
suntus
 
Fecha de Ingreso: noviembre-2002
Mensajes: 746
Antigüedad: 22 años, 5 meses
Puntos: 6
q hago mal en este desplegable ????

<%

set rs=Server.CreateObject("adodb.Recordset")
connectme="dsn=miDB"
sqlstmt = "SELECT * from productos"
rs.open sqlstmt, connectme
If rs.eof then
response.write "<center>there are no"
response.end
Else
%>
<td valign="top" align="left" width="50%"><select name="habitaciones" class="text3" size="1">
<option>-Select Number-</option>
<% intX = 1
Do while not rs.eof
habitaciones=rs("habitaciones")
%>

<option value="<%= habitaciones %>"><%= habitaciones %>
<%
intX = intX + 1

rs.MoveNext
loop
End If
set rs=nothing
%>




ME DA ERROR DE SERVER