public DataTable ReportDetail { get; set; }//定义datatable属性 this.txtTotalPiece.Text = ReportDetail.Compute("sum(Piece)", "TRUE").ToString();//求和
public DataTable ReportDetail { get; set; }//定义datatable属性 this.txtTotalPiece.Text = ReportDetail.Compute("sum(Piece)", "TRUE").ToString();//求和
转载于:https://www.cnblogs.com/wupeihong/p/3782241.html