GoGi Febo

GoGi Febo

  • NA
  • 508
  • 5.8k

how to change true into false in access table from c#

Oct 29 2014 6:42 PM
Hi, simple question, simple! How to change true into false or false into true in access table. I try to update record with false into true. How ???

1 try => parametarSQL = "UPDATE Vrsteprojekata SET dostupan = '" + false + "' WHERE id = '" + id + "'";  -> nothing....

2. try => 
parametarSQL = "UPDATE Vrsteprojekata SET dostupan = false WHERE id = '" + id + "'";  -> nothing....

3. try => 
parametarSQL = "UPDATE Vrsteprojekata SET dostupan = 0 WHERE id = '" + id + "'";  -> nothing....




Answers (2)