wupeihong

.NET的 DataTable中某列求和

public DataTable ReportDetail { get; set; }//定义datatable属性
this.txtTotalPiece.Text = ReportDetail.Compute("sum(Piece)", "TRUE").ToString();//求和

 

分类:

技术点:

相关文章:

  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-11-28
  • 2021-11-28
相关资源
相似解决方案