I have this code (nested inside a form post) but am continually getting the error that it\'s missing the closing }
@for(int i=0;i< itemsCount
Try to enclose your for loop body between text tag.
http://weblogs.asp.net/scottgu/archive/2010/12/15/asp-net-mvc-3-razor-s-and-lt-text-gt-syntax.aspx