C # Experience

xiaoxiao2021-03-06  38

1. Place you need to pay attention to using datetime.now.tostring (): DateTime.now.toString () 2005-2-16 19:06:54

DateTime.now.toString ("hh: mm: ss") 07:06:54 (12 hours)

DateTime.now.toString ("hh: mm: ss") 19:06:54 (24-hour system)

2. Places worth noting using wildcards: wildcard in Access is "*", but if you query the Access record in the C # program, you can only use "%", otherwise record, don't know why.

转载请注明原文地址:https://www.9cbs.com/read-57276.html

New Post(0)