.NET的 DataTable中某列求和

时间:2014-06-12 13:25:34   收藏:0   阅读:307
bubuko.com,布布扣
public DataTable ReportDetail { get; set; }//定义datatable属性
this.txtTotalPiece.Text = ReportDetail.Compute("sum(Piece)", "TRUE").ToString();//求和
bubuko.com,布布扣

 

.NET的 DataTable中某列求和,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!