var result = from p in db.table1 join item in db.table2 on p.ID equals item.ID select new { p.ID, p.FirstName, p.LastName, }; foreach (var info in result) { textbox1.Text = info.FirstName + info.LastName }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)