Popular Articles
Recent comments
- Awsome!!
7 hours 15 min ago - C# insert image
22 hours 8 min ago - jkll
3 days 10 hours ago - Thank You
4 days 10 hours ago - Another approach
6 days 11 hours ago - Issue
1 week 34 min ago - thanks
1 week 11 hours ago - Calendar date time
1 week 17 hours ago - Nice Explanation
1 week 20 hours ago - ramya
1 week 3 days ago

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);