Kei*_*ill 4 asp.net-mvc razor asp.net-mvc-3
FormatException出现以下错误:
<td class="numeric">@String.Format("{0:hh:mm:ss}", testrun.ExecutionTime)</td>
Run Code Online (Sandbox Code Playgroud)
ExecutionTime
TimeSpan 在哪里?此格式字符串有效.这是一个错误还是我错过了一些明显的东西(考虑到时间已晚 - 后者可能是它).
Dar*_*rov 10
试着逃避 :
String.Format("{0:hh\\:mm\\:ss}", testrun.ExecutionTime)
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
10117 次 |
最近记录: |