u2envy1
asked on
Null Value for Boolean data type
I have a Bool Data type that I would like to update with a null value to the DB.
I get an error saying null is not of Boolean type.
Im using LINQ to talk to the DB.
What im using
Table.Column = Convert.ToBoolean(DBNull.V alue.ToStr ing());
I get an error saying null is not of Boolean type.
Im using LINQ to talk to the DB.
What im using
Table.Column = Convert.ToBoolean(DBNull.V
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER