Ver Mensaje Individual
  #12 (permalink)  
Antiguo 13/08/2002, 09:56
Renegado
 
Fecha de Ingreso: febrero-2002
Ubicación: Santiago
Mensajes: 253
Antigüedad: 23 años, 3 meses
Puntos: 0
Re: request dinamico

dieguicho hace correr este(gentileza de bacanzipp, a mi me sirvio caleta ):

<html>
<head>
</head>

<body>
<form name="formulario" method="post" action="muestro.asp">
<table>
<tr>
<td>Cantidad de Actividades a Ingresar</td>
<td><INPUT type="text" name="numero" value="<%=request.form("numero") %>"></td>
</tr>
<tr>
<td></td>
<td align=right><INPUT type="submit" value="aceptar" name="aceptar"></td>
</tr>
</table>
<%if request("aceptar")="aceptar" then%>
<table>
<tr>
<td>Horas</td>
<td>Actividad</td>
<%for i=1 to request("numero")%>
<tr>
<td><INPUT type="text" name="hra<%=i%>" value="">
</td>
<td><INPUT type="text" name="act<%=i%>" value="">
</td>
</tr>
<%next%>
<tr>
<td></td>
<td align=right><input type="button" name="guardar" value="Guardar">
</td>
</table>
<br>

<%end if%>
</form>

</body>
</html>