Tema: List Box
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/01/2002, 16:50
agarciaa
 
Fecha de Ingreso: julio-2001
Mensajes: 278
Antigüedad: 23 años, 9 meses
Puntos: 0
Re: List Box

Tal vez este ejemplo te sirva un poco

<html>
<body>
<%
If Request.Form<>"" Then
Response.Write "Paises seleccionados"
For i = 1 to Request.Form("select1").count
Response.Write "<br>" & i & " " & Request.Form("select1")(i)
Next
On Error Resume Next
Response.Write Var1
Response.Write "<br><a href='opts.asp'>Regresar</a>"
Else
%>
<form method="Post">
<SELECT id=select1 name=select1 size=2 style="HEIGHT:224px; WIDTH:248px" multiple>
<OPTION selected value=CH>CHILE</OPTION>
<OPTION value=AR>ARGENTINA</OPTION>
<OPTION value=PE>PERU</OPTION>
<OPTION value=BR>BRASIL</OPTION>
<OPTION value=PA>PARAGUAY</OPTION>
</SELECT>
<input type="submit">
</form>
<%End If%>
</body>
</html>


<a href="http://www.unitecos.net">
<img src="http://www.soportexpresso.com/pass/correo/agarciaa.jpg" border=0>
</a>