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.