• Linq学习


                    IEnumerable<DataRow> cbCurrent = from dr in cbRows.AsEnumerable()
                                                     where
                                                     dr.Field<string>("ObjectNO").ToString() == row["运输单号"].ToString() ||
                                                     dr.Field<string>("ObjectNO").ToString() == row["报关任务单"].ToString()
                                                     select dr;

                //收入
                DataRow[] srRows = chargeTable.Select(" chargeType = 1 and chargeSort <> 3");
                //代垫
                DataRow[] ddRows = chargeTable.Select(" chargeType = 1 and chargeSort = 3");
                //应付
                DataRow[] yfRows = chargeTable.Select(" chargeType = 2");
                //业务成本
                DataRow[] cbRows = chargeTable.Select(" chargeType = 3");

  • 相关阅读:
    linux安装kafka教程
    linux 系统java相关部署
    redies学习总结
    Sentinel自定义异常降级-新旧版本差异
    Android Bitmap压缩详解
    Head First之策略模式
    go测试
    go获取命令行参数
    JVM-垃圾收集算法基础
    Java代理模式
  • 原文地址:https://www.cnblogs.com/PatrickLee/p/3643641.html
Copyright © 2020-2023  润新知