[thelist] asp.net c# Parse Bool from DB
Anthony Baratta
anthony at baratta.com
Tue Jun 13 14:54:20 CDT 2006
How are you getting the data from the DB? are you passing the "bit" directly to a temp variable which is returned by your class, or are you looking at the DB Column and manually passing "1" or "0"?
Wy not have your class pass back a real boolean instead of trying to convert it?
Because of translation issues I normally stick with using integers for my true/false columns.
More information about the thelist
mailing list