DataRow dr = dt.NewRow();//定义新行
dr["sumPrice"] = sumPrice;//对应字段赋值
dr["customName"] = "合计";//
dt.Rows.Add(dr);//增加新行
return dt;
DataRow dr = dt.NewRow();//定义新行
dr["sumPrice"] = sumPrice;//对应字段赋值
dr["customName"] = "合计";//
dt.Rows.Add(dr);//增加新行
return dt;