显示类型:2018-6-1

//说明:data_time.Text 控件名文本值 ;dataset.Tables[0].Rows[0]["art_time"]  数据集.表名.[行标][列标]

data_time.Text = Convert.ToDateTime(thisDS.Tables[0].Rows[0]["art_time"]).ToShortDateString();

显示类型:2018年6月1

data_time.Text = Convert.ToDateTime(thisDS.Tables[0].Rows[0]["art_time"]).ToLongDateString();

相关文章:

  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
  • 2021-10-07
  • 2021-05-21
  • 2021-07-12
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-11-30
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案