阅读背景:

“模板只能用于字段访问、属性访问、单维数组索引。”

来源:互联网 

In MVC Razor view, I am trying to format a DateTime field to display time only. Using below code I am getting error "Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions."In MVC Razor view, I am trying to format a Date




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: