Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
Hiii,

         i wants to make one form that has  two radio button for selecting male & female and having drop down of city that i wants to make using code first approach of EF  in MVC so how can i do? plz explain every part so i under stand

i have write code

public int ID{get;set;}
public string Name{get;set;}
public string gender{get;set;}
public string Address{get;set;}
public string city{get;set;}
public int phone{get;set;}

now when i run this MVC application database created and having drop down in view but i have no idea so plase give me proper way so i have drop down
of city and radio button of gender category.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900