I have a datagridview which gets filled with data returned from a linq query. If the query returns no results I want to display a messagebox. Is there a way of checking to s
This should do it:
dataGridView1.RowCount == 0