Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/09/2008, 06:30
Avatar de seinkraft
seinkraft
 
Fecha de Ingreso: diciembre-2007
Mensajes: 119
Antigüedad: 17 años, 2 meses
Puntos: 1
Problema con update

Me dice que hay un error en la consulta UPDATE pero no logro hallarla

Código:
String1 = txtEditAuthor.Text
String2 = txtEditSource.Text
String3 = txtEditTags.Text

MyOledbCommand.CommandText = "Update files Set " _
& "author='" & String1 & "', " _
& "source='" & String2 & "', " _
& "tags='" & String3 & "', " _
& "WHERE ID = " & Me.lstEditDatabase.SelectedItems(0).SubItems.Item(0).Text
Me pueden ayudar?