For some reason my code works fine, but there seems to be a syntax error when i use
@model List<ObjectClass>
However, the code runs fine.
I could just create a wrapper class but i just wanted to get input on why this is happening?
EDIT: Visual Studio 2013
I recently had similar problem, but I had @Model List. Notice capital "M". In your case everything looks fine. Just restart VS.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句