C# ?. 判斷Null值

有一句代碼: RegularDate.cshtml 內容如下: 目的是將數據庫里的 DateTime 顯示為完整日期,如 2019/08/09,時間部份舍去。 當 SellDate 不為空值時,用 "RegularDate" 這個 templateName 來 render SellDate 很方便
posted @ 2019-08-09 13:55  Bruce_Cheung  阅读(694)  评论(0编辑  收藏  举报