Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/11/2004, 05:01
cyberleon
 
Fecha de Ingreso: noviembre-2004
Mensajes: 8
Antigüedad: 19 años, 6 meses
Puntos: 0
Conexion ODBC ???No puedo insertar DATOS en ACCESS

como puedo hacerlo,,
necesito insertar dato en una base de datos ACCESS y aun no he podido,,que es lo que te ngo mal..????

ayudenme porfavor




<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<%
Dim miconexion, micomando
Set miconexion = Server.CreateObject("adodb.connection")
miconexion.ConnectionString = "DSN=servicios"
miconexion.Open
Set micomando = Server.CreateObject("adodb.command")
micomando.ActiveConnection = miconexion
stql = "INSERT INTO clientes (rut,nombre,estado) VALUE ('11','123','1234')"
micomando.Execute (stql)
%>
<body>
</body>
</html>