show enum in view

Posted by user276640 on Stack Overflow See other posts from Stack Overflow or by user276640
Published on 2010-03-18T23:29:04Z Indexed on 2010/03/18 23:31 UTC
Read the original article Hit count: 477

Filed under:
|
|

i have enum

 public enum TypeImage
{
    Img=0,
    Thumb=1
}

i want in view show <%= TypeImage.Img %> -it shows "img" but not 0. what the problem?

© Stack Overflow or respective owner

Related posts about view

Related posts about enum