回复 1楼sdwd_lhq的帖子
Spread for ASP.NET中可以通过以下方法来队列数据进行求和:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- FpSpread1.ActiveSheetView.AllowPage = false;
- FpSpread1.ActiveSheetView.ColumnFooter.Visible = true;
- FpSpread1.ActiveSheetView.Columns[2].AggregationType = FarPoint.Web.Spread.Model.AggregationType.Sum;
- }
- }
复制代码 |