//设置单元格为Double类型及异常信息
FarPoint.Web.Spread.DoubleCellType objDoubleCell = null;
objDoubleCell = new DoubleCellType("非数字!");
objDoubleCell.FixedPoint = true;
objDoubleCell.DecimalDigits = 2;
this.FpSpread1.Sheets[0].Cells[planrowcount + 1 + i, j].CellType = objDoubleCell;
未命名.jpg
(19.19 KB, 下载次数: 1166)
|
|