I am developing a datbase SQL table, and a pair of columns should contain either 1 or 0 (true or false). I define columns of type binary (1), but now I do not know how to insert the value true or false into the database. inserting "true" or "1" does not work (this says int or bool cannot be converted to binary) ...
c # sql
sooprise
source share