Ok le coloco esto
comando = New OleDbCommand("UPDATE products SET ModelName = '" & productx & "' where ProductID = " & ProductIDx & "", oConn)
comando.ExecuteNonQuery()
y lanza este mensaje
There is already an open DataReader associated with this Connection which must be closed first ..... luego hice esto
comando = New OleDbCommand("UPDATE products SET ModelName = '" & productx & "' where ProductID = " & ProductIDx & "", oConn)
consulta.Close()
comando.ExecuteNonQuery()
pero solo me actualiza el 1 record y lanza este mensaje
Invalid attempt to Read when reader is closed.
Lo que estoy haciendo es un while ... loop y actualizar todos los registros que son como 255825
sera que hay otra forma de hacerlo??
Gracias por contestar