[CLOSED] CheckBox true / false to 1 / 0

  1. #1

    [CLOSED] CheckBox true / false to 1 / 0

    Can I have the Razor

    X.ComboBoxFor(m => m.DEPT)
    return 1 and 0 instead of true / false?

    Thank you
    Last edited by Daniil; Apr 24, 2015 at 12:20 PM. Reason: [CLOSED]
  2. #2
    Hi @registrator,

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

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

Similar Threads

  1. [CLOSED] Checkbox return true/false
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 04, 2011, 5:42 AM
  2. Replies: 4
    Last Post: Feb 21, 2011, 10:02 PM
  3. Replies: 0
    Last Post: May 04, 2010, 7:08 AM
  4. [CLOSED] Disabled Checkbox is always false and shows enabled true.
    By Sharon in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 12, 2009, 4:10 AM
  5. Replies: 3
    Last Post: Jan 29, 2009, 5:32 PM

Posting Permissions