回复 1楼dlz5788的帖子
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- FpSpread1.ActiveSheetView.ColumnFooter.Visible = true;
- FpSpread1.ActiveSheetView.Columns[0].AggregationType = FarPoint.Web.Spread.Model.AggregationType.Sum;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 10;
- FpSpread1.ActiveSheetView.Cells[1, 0].Value = 13;
- FpSpread1.ActiveSheetView.Cells[2, 0].Value = 24;
- }
- }
复制代码 |