阅读背景:

为什么是Html。DisplayTextFor忽略DisplayFormatAttribute ?

来源:互联网 

I've read elsewhere that DisplayFormat just uses the DataFormatString in the same way string.Format does. I am trying to display a long as a phone number; in a console app, the following works:I've read elsewhere that DisplayFormat just use




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

分享到: