C# 具有24小时时间格式的gridcontrol同步融合
对不起,这个基本问题。 我有一个syncfusion网格控件,它以12pm,am格式显示时间格式。基础数据源具有日期时间格式。 我应该使用哪些事件将日期显示更改为24小时格式C# 具有24小时时间格式的gridcontrol同步融合,c#,grid,syncfusion,C#,Grid,Syncfusion,对不起,这个基本问题。 我有一个syncfusion网格控件,它以12pm,am格式显示时间格式。基础数据源具有日期时间格式。 我应该使用哪些事件将日期显示更改为24小时格式 Sun以下设置将使网格单元具有24小时格式的日期时间值 this.gridControl1[2, 2].CellValueType = typeof(DateTime); this.gridControl1[2, 2].CellValue = new DateTime(2012, 5, 23, 16, 34, 48
Sun以下设置将使网格单元具有24小时格式的日期时间值
this.gridControl1[2, 2].CellValueType = typeof(DateTime);
this.gridControl1[2, 2].CellValue = new DateTime(2012, 5, 23, 16, 34, 48);
this.gridControl1[2, 2].Format = "dd/mm/yy HH:mm:ss"; //Output is: 23/05/12 16:34:48