'XXX'키가있는 ViewData 항목은 'System.Int32'유형이지만 'IEnumerable'유형이어야합니다.' 다음 뷰 모델이 있습니다. public class ProjectVM { .... [Display(Name = "Category")] [Required(ErrorMessage = "Please select a category")] public int CategoryID { get; set; } public IEnumerable CategoryList { get; set; } .... } 다음 컨트롤러 메서드를 사용하여 새 프로젝트를 만들고 Category public ActionResult Create() { ProjectVM model = new ProjectVM { CategoryLi..