I have two DataTable A and B, with columns ID, Receipt and Amount in both.
I need to display the result in a GridView, but it will have one more column called 'Issued'. Now I have created another empty DataTable.
I need to compare A with B, in such a way, that if 'ID' of A is available in 'ID' of B, I need to add another column in that row, called 'Issued' as 'Yes' in A. If not available, then 'Issued' will be 'No'.
I read about comparing using Linq but I have no clue how to go about adding the new column.