You must encode all variable names of the form with the encodeNameSpace tag element.
您必须使用encodeNameSpace标记元素对表单的所有变量名进行编码。
Because I am not wrapping the (Out of Stock!) message in an HTML tag element, Razor can’t implicitly determine that the content within the @if block is the start of a content block.
由于我没有将消息“已售完!” 嵌套在HTML标签元素内,Razor不能隐式判断@if块中的内容是否是一个内容块的开始。
Because I am not wrapping the (Out of Stock!) message in an HTML tag element, Razor can’t implicitly determine that the content within the @if block is the start of a content block.
由于我没有将消息“已售完!” 嵌套在HTML标签元素内,Razor不能隐式判断@if块中的内容是否是一个内容块的开始。
应用推荐