spread控件在没有设置数据源前前台用:FpSpread.Add(); 可以增加行,
后台用:FarPoint.Web.Spread.Model.DefaultSheetDataModel model = new FarPoint.Web.Spread.Model.DefaultSheetDataModel(Ds);
FpSpread1.ActiveSheetView.DataModel = model;
FpSpread1.ActiveSheetView.PageSize = Ds.Tables[0].Rows.Count;
设置数据源后,前台无法增加行,有办法解决吗?
|
|