PDA

View Full Version : [CLOSED] CheckBox true / false to 1 / 0



registrator
Apr 17, 2015, 10:38 AM
Can I have the Razor


X.ComboBoxFor(m => m.DEPT)

return 1 and 0 instead of true / false?

Thank you

Daniil
Apr 17, 2015, 3:46 PM
Hi @registrator,

Please clarify did you mean CheckboxFor instead of ComboBoxFor, right?

Though, I am not sure what you mean anyways. Please elaborate.