Tema: Dictionary?
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/08/2004, 12:49
Avatar de mamon
mamon
 
Fecha de Ingreso: enero-2002
Ubicación: Lima
Mensajes: 1.302
Antigüedad: 23 años, 4 meses
Puntos: 3
Dictionary?

Hola, estuve pasenado x internet viendo cosas de ASP y he visto este codigo:

<%
If Request.Form("func") = "Enviar" Then
Dim strVar
Set strVar = CreateObject("Scripting.Dictionary")
strVar.Add "nombre", Request.Form("nombre")
strVar.Add "apellido", Request.Form("apellido")
strVar.Add "email", Request.Form("email")
Response.Write strVar("nombre")
End If
%>
<form method="POST" action="dictionary.asp">
<table border="0" cellspacing="0" cellpadding="0" width="500">
<tr>
<td width="163">Nombre :</td>
<td width="333"><Input Type="text" name="nombre" size="20"></td>
</tr>
<tr>
<td width="163">Apellido :</td>
<td width="333"><Input Type="text" name="apellido" size="25"></td>
</tr>
<tr>
<td width="163">Email :</td>
<td width="333"><Input Type="text" name="email" size="30"></td>
</tr>
</table>
<p><Input Type="submit" value="Enviar" name="func"></p>
</form>

la vdd es q no tengo la menor idea para que sirve q es el dictionary? alquien me podría orientar?

GRACIAS DE ANTEMANO
__________________
Yo si sé lo que es trabajar duro, porque lo he visto.