
Error sintaxis consulta access
Publicado por Gustavo (3 intervenciones) el 22/03/2016 00:36:37
Hola como estan? al ejecutar la siguiente linea de codigo el programa lanza error. Y el depurador me informa que hay un error de sintaxis que no puedo decifrar. Desde ya muchas gracias.
comandos = New OleDbCommand("INSERT INTO Alumnos (NSocio, Nombre, Apellido, Telefono1, Mail , Telefono2, Direccion, DNI, Año de ingreso) VALUES" & vbCrLf &
"(txtNSocio, txtNombre, txtApellido, txtTelefono 1, txtMail, txtTelefono2, txtDireccion, txtDNI, txtIngreso)", conexion)
comandos = New OleDbCommand("INSERT INTO Alumnos (NSocio, Nombre, Apellido, Telefono1, Mail , Telefono2, Direccion, DNI, Año de ingreso) VALUES" & vbCrLf &
"(txtNSocio, txtNombre, txtApellido, txtTelefono 1, txtMail, txtTelefono2, txtDireccion, txtDNI, txtIngreso)", conexion)
Valora esta pregunta


0