I am using LINQ in my project and my code is:
var SE = from c in Shop.Sections join c1 in obj.SectionObjects on c.SectionId equals c1.Sec
var SE = from c in Shop.Sections.AsEnumerable().ToList() join c1 in obj.SectionObjects.AsEnumerable().ToList() on c.SectionId equals c1.SectionId select c;
dataGridView1.DataSource = SE;