Number pattern for checkboxes in asp.net?

TyroneCena

New Member
I have a database table which contanis a field name Province bits and it adds up the count of the pattern like:\[code\]AB-1BC-2CD-4DE-8EF-16.... and so on.\[/code\]Now in the table entry I have a value-13(Province bit), which implies checkboxes against entry AB,CD,DE(adds up to 13)should be checked.I am not able to get the logic behind the same, how can check only those checkboxes whose sum adds up to the entry in the table?
 
Back
Top