access中时间字段存储的结果是有秒的,但显示到页面的表中时却只显示时分,没显示秒,后将dataGridView1中显示时间的这一列的默认显示格式改为时间格式(2012-01-01 12:05:08)就好了。

也可用代码实现方法:dataGridView1.Columns[5].DefaultCellStyle.Format = "G";

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案