回复 3楼simonshen的帖子
设置该列的单元格类型即可:
浮点型:
- FarPoint.Web.Spread.DoubleCellType dblcell = new FarPoint.Web.Spread.DoubleCellType();
- FpSpread1.ActiveSheetView.Columns[0].CellType = dblcell;
复制代码
整形:
- FarPoint.Web.Spread.IntegerCellType intcell = new FarPoint.Web.Spread.IntegerCellType();
- FpSpread1.ActiveSheetView.Columns[0].CellType = intcell;
复制代码 |