What's wrong with my code? For the Employee table and the table Project are underlined in red ...
Thanks in advance!
DataContext db = new projfuncionarioDataContext();
var query = from p in db.Funcionario
join c in db.Projeto on p.Cdfunc equals c.Cdfunc
select new
{
ID = p.Cdfunc,
Produto = p.Nome,
};
GridView1.DataSource = query;
GridView1.DataBind();