I have a typical div element in a cshtml page in the form:
@(ErrorMessage)
Just like you would in regular Razor:
@if (price>30) { The price is too high. }
The price is too high.
EDIT For updated question, I guess you want this:
0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复