ASP - COMO LE HAGO

 
Vista:

COMO LE HAGO

Publicado por Moy (46 intervenciones) el 07/04/2004 18:11:32
KE TAL ! TENGO EL SIGUIENTE PROBLEMA, DESEO METER LOS VALORES DEL CAMPO DE UNA TABLA EN UNA LISTA, AQUI ESTA ME CONSULTA EN SQL: Set art = Server.CreateObject("ADODB.Recordset")
sql = sql & " SELECT articulos.estilo as estilo "
sql = sql & " FROM articulos "
sql = sql & " where articulos.marca = '"& marca&"'"
Y ASI KIERO METERLOS EN LA LISTA : <FORM>
<td valign="middle">
<font face="verdana, arial" size="2">
<SELECT NAME="stand" OnChange="JumpURL(this)" CLASS=cup>
<OPTION>Estilo
<% do while (not art.eof)
response.write "<option value="http://www.nfl.com" > "& art("estilo") &""
art.movenext
loop %>
PERO NO FUNCIONO JA JA , ALGUIEN PODRIA DARME ALGUN CONSEJO, PORFAVOR SOY NOVATO EN ASP.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO LE HAGO

Publicado por krypton (17 intervenciones) el 07/04/2004 20:12:28
prueba con esto
while not art.eof
%>
<option value="http://www.nfl.com" > <%= art("estilo") %>
<%
art.movenext
wend
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar