您好,
1. 请参考下面代码
- FarPoint.Web.Spread.DateTimeCellType dct = new FarPoint.Web.Spread.DateTimeCellType();
- dct.ShowPopupButton = true;
- dct.DateTimeFormat = new System.Globalization.DateTimeFormatInfo();
- dct.FormatString = " yyyy-MM-dd";
- dct.EditMode.DateTimeFormat = new System.Globalization.DateTimeFormatInfo();
- dct.EditMode.FormatString = " yyyy/MM/dd";
- FpSpread1.Sheets[0].Cells[0, 0].CellType = dct;
- FpSpread1.Sheets[0].Cells[0, 0].Value = DateTime.Now;
复制代码
2. 问题已重现,具体原因和结局方案需要调查一下。 |