Jump to content
Problem with "BIT" datatype in database
Asked by srihitha
Posted Oct 03 2011 06:07 AM
This is srihitha,i have a doubt creating bit datatype in database.Actually in head first c# in page 26 i mean chapter 1 there are few contact details to be created in the contact list database in which the client datatype is "BIT".But if i enter "YES" in that column am getting a message like" Inavlid value,the changed value in this cell is not recognised as valid .Net datatype:Boolean.Error Message:String was not recognised as a valid boolean.But in the book it was shown like "Yes"for the column client what is the problem and please suggest me what is that i have to do.