LINQ result to DataGridView
LINQ
1
Posts
1
Posters
2
Views
1
Watching
-
Hello I am trying to populate a grid view with a result of a LINQ Query as follows: dc stands for DataContext var ItemList = (from items in dc.Products select new { items.ItemCode, items.ItemName }); dataGridView1.DataSource = ItemList; (dc stands for DataContext) It works fine, however I cannot modify the values in the gird sine the value are read only, what am I missing to be able to edit the values?