I have 2 datatable, one is main datatable and other is secondary datatable from which 1 column value i want to get into main datatable.
If first check any ‘SenderId’ from main table(Dt1) without T found in ‘CodeId’ from Dt2 then return Status in DT1.
If not SenderId then check ‘RecId’ from Dt1 without T found in ‘CodeId’ from Dt2 then return Status in DT1.
If both no value match then status should be as it is blank.
Output should be:
Note:
There will be more than 30000 data so want solution without looping.