<% foreach (var sample in Model) { %>
Error
foreach statement cannot operate on variables of type does not contain a public definition for 'GetEnumerator'
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jul 24, 2016, 10:42 PM EDT