
27/11/2002, 14:22
|
 | | | Fecha de Ingreso: diciembre-2001 Ubicación: España
Mensajes: 422
Antigüedad: 23 años, 5 meses Puntos: 1 | |
Hola,
seria algo asi, comprueba si hay algo diferente:
<%
Dim adoCon
Dim adoRec
Dim strSQL
Set adoCon = Server.CreateObject("ADODB.Connection")
Set adoRec = Server.CreateObject("ADODB.Recordset")
strCon = "Provider=MSDAORA.1; Password=xxxx; User ID=xxxx; Data Source=xxxx"
adoCon.Open strCon
strSQL = "INSERT INTO nombre_tabla(campo1, campo2, campoN) values(valor1, valor2, valorN)"
Set adoRec = adoCon.Execute(strSQL)
adoCon.Close
Set adoCon = Nothing
Set adoRec = Nothing
%> |