¿Que falla aqui?
Publicado por Angel Romero (2 intervenciones) el 25/10/2005 22:24:20
¿Alguien me puede decir que falla aqui? IIS me dice que el objeto o base de datos es de solo lectura.
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("datos.mdb"))
set noticias=createobject("ADODB.Recordset")
noticias.CursorType = 1
noticias.LockType = 3
noticias.open "noticias",conn
noticias.movelast
noticias.AddNew
noticias("titular") = "Titular 1"
noticias("texto")= "Texto 1"
noticias("fecha")= date()
noticias.update
Gracias
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("datos.mdb"))
set noticias=createobject("ADODB.Recordset")
noticias.CursorType = 1
noticias.LockType = 3
noticias.open "noticias",conn
noticias.movelast
noticias.AddNew
noticias("titular") = "Titular 1"
noticias("texto")= "Texto 1"
noticias("fecha")= date()
noticias.update
Gracias
Valora esta pregunta
0