I've been working on a project that takes two csv file as input, imported in dataTable. Now I wanted to join those two and finally show the joined one to a dataGridView.
The program is working fine till the import part.
The code that I've created so far does not show any error but it's not working, I mean, my destination Data Grid View remains blank.
Please observe the following code and provide some solution that works. Best regards.
P.S: I'm trying to do the Full Outer Join at here.
var tbl1 = tb1;
var tbl2 = tb2;
var res1 = from t2 in tbl2.AsEnumerable()
join t1 in tbl1.AsEnumerable() on t2["BBL"] equals t1["BBL"] into g
from t1 in g.DefaultIfEmpty()
where t1 == null
select t2;
dataGridView3.DataSource = res1;
You must create your columns or copy the schema for res1.
Example: