Pass List of Checkboxes into View and Pull out IEnumerable [duplicate]
You cannot bind to a collection using a foreach loop. Nor should you be manually generating your html, which in this case would not work because unchecked checkboxes do not post back. Always use the strongly typed html helpers so you get correct 2-way model binding. You have not indicated what you models are, but … Read more