回复 2楼xxwood的帖子
试试这段代码:
- private void Button1_Click(objectsender,System.EventArgse)
- {
- FarPoint.Web.Spread.Model.DefaultSheetDataModel dm=(FarPoint.Web.Spread.Model.DefaultSheetDataModel)FpSpread1.ActiveSheetView.DataModel;
- dm.ClearFormulas(5,0,1,3);
- }
复制代码 |