Ver Mensaje Individual
  #13 (permalink)  
Antiguo 06/11/2004, 21:09
cyberleon
 
Fecha de Ingreso: noviembre-2004
Mensajes: 8
Antigüedad: 19 años, 6 meses
Puntos: 0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

</head>
<body>
<%
Dim oConn
set conexion = Server.Createobject("adodb.connection")
conexion.open "prueba"
strSQL = "insert into clientes (rut, nombre, estado) values ('chanchi', 'hermosa', 'linda')"
set rs = conexion.Execute(strSQL)

%>

</body>
</html>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form name="form" method="post" action="prueba2.asp">
<p>
<input name="rut" type="text" id="rut">
</p>
<p>
<input name="nombre" type="text" id="nombre">
</p>
<p>
<input name="estado" type="radio" value="ok">
OK
<input name="estado" type="radio" value="no ok">
NO OK
</p>
<p>
<input type="submit" name="Submit" value="Enviar">
</p>
</form>
</body>
</html>

Presenta problemas que no inserta datos a la tabla...solo hace consultas...