I have a gridview, which I'm populating via linq, like so:
DataClassesDataContext dc = new DataClassesDataContext();
var EGxE = from iterVar in dc.ExerciseGroup_X_Exercises
where iterVar.ExerciseGroupId == 1
After the user makes changes to a dropdownlist (for ImpressionId) and a textbox (for Note), I want to iterate through the GridView and update its changes to LINQ.
To iterate through the GridView, I know to do this:
foreach (GridViewRow row in GridView1.Rows)
but I'm drawing a blank on how to efficiently (bulk?) update the datacontext via LINQ.