I\'ve been struggling with a NullReferenceException and hope someone here will be able to point me in the right direction. I\'m trying to create and populate a DataTable and the
If the error occurs inside UpdateResults then it sounds like dataGridView is null.
UpdateResults
dataGridView
private void UpdateResults(DataTable entries) { dataGridView.DataSource = entries; // when is dataGridView set? }