Datatable Compare for Checking Rows Exist and a Condition is true for further process

(From row1 In dt_re11.AsEnumerable() Join row2 In dt_input.AsEnumerable() On row1(“SizeCode”).ToString Equals row2(“SizeCode”).toString Where Cint(row1(“TotalQty”).ToString) < Cint(row2(“TotalQty”).ToString) Select row1).CopyToDataTable

image

1 Like