I've come to an issue where i need to insert bit values(true/false) in my database for each hour for student attendance. For each hour there should be one value(true/false).
The straight forward option is create 24 columns and input value for each of them, every time a student is present. But definately this is also the worst one.
Someone suggest me to use binary field for it, one field could contain all these values.
Actually mu gui has 24 checkboxes and whichever checkbox is checked, its value should be stored as 1 so when next time i open the screem those checkboxes should remain checked.
I am using sql server 2008 and .net framework 4.0, if it helps.
Thanks