[英]Compiler Error Message: CS1525: Invalid expression term ';'
Line 52: <li>
Line 53: <div class="short">
Line 54: <div class="short_holder">
Line 55: if (latest.blahblah == PostManager.blahblah){
Line 56: <a href="@(latest.URL)" title="@(latest.Title)">
In my asp.net mvc 3 apps I got error in my views. 在我的asp.net mvc 3应用程序中,我的观点出错了。 it's looking fine to me. 它对我来说很好看。
if(...) -> @if(...) if(...) - > @if(...)
if in a div without @ will be html text 如果在没有@的div中将是html文本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.