下面就是我设置格式的代码
FarPoint.Win.Spread.CellType.GeneralCellType generalCellType = emrExcelEditor.ActiveSheet.Cells[i, j].CellType as FarPoint.Win.Spread.CellType.GeneralCellType;
generalCellType.FormatString = "yyyy-MM-dd";
generalCellType.IsDateFormat = true;
|
|