- //只清除数据
- fpSpread1.ActiveSheet.ClearRange(0, 0, fpSpread1.ActiveSheet.RowCount, fpSpread1.ActiveSheet.ColumnCount, true);
- //清除数据,格式等信息
- fpSpread1.ActiveSheet.ClearRange(0, 0, fpSpread1.ActiveSheet.RowCount, fpSpread1.ActiveSheet.ColumnCount, false);
复制代码 |