
16/12/2002, 15:33
|
| | Fecha de Ingreso: diciembre-2001 Ubicación: Mercedes
Mensajes: 92
Antigüedad: 23 años, 4 meses Puntos: 0 | |
porque en vez de hacer asi:
strSQLCoger3= "UPDATE News SET IMAGEN = '" & imgNewsU & "', ARCHIVO = '" & txtNewsU & "', FECHA = '" & txtFecha & "' WHERE ID = " & txtID
MyConn.Execute(strSQLCoger3)
no haces asi:
strSQLCoger3= "UPDATE News SET IMAGEN = '" & imgNewsU & "', ARCHIVO = '" & txtNewsU & "', FECHA = '" & txtFecha & "' WHERE ID = " & txtID
response.write strSQLCoger3
response.end
MyConn.Execute(strSQLCoger3)
asi puedes ver que contiene strSQLCoger3 y depuras el error.
(creo que txtID esta vacio por eso te tira ese error)
¿donde le asignas el valor a txtID? |