1
Answer

How do I bind gender column in View

Ravikumar G

Ravikumar G

9y
438
1
Hi Friends,
I'm new to MVC, I've a DB employee table which contains a Gender column. The gender columns has data 1,2 which 1 means Male and 2 means Female. Now when Im binding it thriugh entity framework, it is binding 1 and 2 only but actually i need Male and Female format.
Thanks in advance
Answers (1)