In my application I have a DataGridView control that displays data for the selected object. When I select a different object (in a combobox above), I need to update the grid
You may also try this, its work.
public static void DoubleBuffered(Control formControl, bool setting) { Type conType = formControl.GetType(); PropertyInfo pi = conType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic); pi.SetValue(formControl, setting, null); }