Reply to comment

The comment you are replying to does not exist.

Bool variable declaration

Bool types in SQL Server are usually stored as the field type: Bit.

So you can map the type bool to bit when doing the data conversion from the data reader.  For instance, the code might be:

bool bMyBool = reader.GetBoolean(iIndexOfReader);

Reply

Recent comments