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.Value.ToString());
u2envy1Asked:
Who is Participating?
 
BTosonConnect With a Mentor Commented:
Try the following:
Table.Column = null;
0
 
u2envy1Author Commented:
Yip, perfect. It works.......
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.