this.dgEntBody.ItemsSource.Cast<VPCreateKaRel>().Where(p => !string.IsNullOrEmpty(p.BillNo) && p.BillNo.Substring(0,11) == stock.MawbNo).Count() > 0
Linq 中的NULL判断
最新推荐文章于 2022-04-24 16:28:02 发布
this.dgEntBody.ItemsSource.Cast<VPCreateKaRel>().Where(p => !string.IsNullOrEmpty(p.BillNo) && p.BillNo.Substring(0,11) == stock.MawbNo).Count() > 0