<分区>
Possible Duplicate:
How can I format a nullable DateTime with ToString()?
‘No overload for method 'ToString’ takes ‘1’ arguments' error occur While Formating Datetime Field To String ON “dd-MM-yyyy” format
我正在使用以下内容:
@Model.Modified.ToString("dd/MM/yyyy htt")
但是它给我一条消息说
No overload method for ToString takes one argument
有谁知道哪里出了问题?