ASP.NET MVC : How to bind dropdown list with nested list type property
问题 here is my full code. who will see it then they could understand what i am trying to achieve. after seeing my code if anyone think there is problem in code design then please discuss with rectified version. view model and model code public class MainViewModel { public List<Student> Students { get; set; } public int SelectedState = 0; public int SelectedCity = 0; } public class Student { public int ID = 0; public string Name = ""; public int StateID = 0; public int CityID = 0; public List