ProjectManagmentEntities pm = new ProjectManagmentEntities(); public List<Project> SelectProjects() { List<Project> result = new List<Project>(); foreach (Project item in pm.Projects) { result.Add(item); } return result; }
dataGridView1.DataSource = p.SelectProjects();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)