Tema: asp y combo
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/03/2006, 08:54
Avatar de ElAprendiz
ElAprendiz
 
Fecha de Ingreso: enero-2002
Ubicación: Maipu, Chile
Mensajes: 3.706
Antigüedad: 23 años, 3 meses
Puntos: 2
Código:
<% 
Do While not Registro.eof 
    LV_PERIODO =Registro("PERIODO") 
    if dato_por_defecto=lv_periodo then
        response.write "<option value="&LV_PERIODO&"&LV_PERIODO="&LV_PERIODO&" selected>"&L V_PERIODO&"</option>"
    else
       response.write "<option value="&LV_PERIODO&"&LV_PERIODO="&LV_PERIODO&">"&L V_PERIODO&"</option>"
    end if
    Registro.MoveNext
Loop 
Response.Write ("</Select>") 
end if
CerrarConexion 
%>