Ver Mensaje Individual
  #15 (permalink)  
Antiguo 15/11/2004, 18:24
Avatar de univercity
univercity
 
Fecha de Ingreso: noviembre-2002
Mensajes: 681
Antigüedad: 22 años, 5 meses
Puntos: 0
tengo la impresion que estas usando un codigo que lo sacastes de alguna parte, y la verdad que es un codigo que si no eres buen conocedor de ASP, obviamente te esta mareando.

Hize el cambio que te recomendé y me funcionó!!!!

mira te voy a simplificar tu pagina del formulario "Altas.asp"

Altas.asp
Código:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<form method="post" action="reg.asp" name="form1">
  <table align="center">
    <tr valign="baseline">
      <td nowrap align="left"><font face="Tahoma" size="2">usuario:</font></td>
      <td><input type="text" name="numerito" value="" size="32">
      </td>
    </tr>
    <tr valign="baseline">
      <td nowrap align="left"><font face="Tahoma" size="2">contraseña:</font></td>
      <td><input type="password" name="password" value="" size="32">
      </td>
    </tr>
    <tr valign="baseline">
      <td nowrap align="left"><font face="Tahoma" size="2">privilegio:</font></td>
      <td><input type="text" name="privilegio" value="" size="32">
      </td>
    </tr>
    <tr valign="baseline">
      <td nowrap align="left"><font face="Tahoma" size="2">Mail:</font></td>
      <td><input type="text" name="mail" value="" size="32">
      </td>
    </tr>
    <tr valign="baseline">
      <td nowrap align="right">&nbsp;</td>
      <td><input type="submit" value="Grabar">
      </td>
    </tr>
  </table>
  <input type="hidden" name="MM_insert" value="form1">
</form>
<p>&nbsp;</p>
</body>
</html>
Y lo recoges en REG.ASP

aqui esta el codigo:
Código:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<p style="margin-top: 0; margin-bottom: 0">Probando request <b>Usuario </b>=&nbsp; <%=Request.Form("numerito") %>
</p>
<p style="margin-top: 0; margin-bottom: 0">Probando request <b>Contraseña</b> =&nbsp; <%=Request.Form("password") %>
</p>
<p style="margin-top: 0; margin-bottom: 0">Probando request <b>privilegio </b>=&nbsp; <%=Request.Form("privilegio") %>
</p>
<p style="margin-top: 0; margin-bottom: 0">Probando request <b>mail </b>=&nbsp; <%=Request.Form("mail") %>
</p>

</body>
</html>

YA LO PROBÉ!!!!... SLDS.
__________________
"Lo importante es nunca dejar de hacerse preguntas"
Albert Einstein