I have a datagrid populated by a Linq query. When the focused row in the datagrid changes I need to set a variable equal to one of the properties in that object.
I t
var result = ((dynamic)DataGridView.Rows[rowNum].DataBoundItem).value;