你可以这样修改:
首先将SetCellDirtyFlag置为True,然后使用如下代码进行保存:
- private void fpSpread8_EditChanged(long col, long row)
- {
- this.fpSpread8.DAutoSave = false;
- this.fpSpread8.SetCellDirtyFlag(col, row, true);
- this.fpSpread8.DataSave();
- this.fpSpread8.DAutoSave = true;
- }
复制代码 |