title: How can I populate a DataGridView with data?
body: <p>Background:
  For a school assignment, I am making a program to track calories using C# and Windows Forms. This involves a local SQL database with two tables - Foods (a table of foods and calorie values) and Eating (a track of what the user has eaten, and when). I added a local database as instructed at [1] and I'm trying to display the food data (and eventually the eating data) using a DataGridView. I've looked at a lot of tutorials on this, each one saying different things, but none seem to work. The DGV is stuck looking like an empty grey box. There is definitely data in the table, but I don't know if the DGV is receiving any rows. I've taken a bunch of screenshots at [2].
  I'm just looking for some way to populate the DGV with the data that works. Thanks.</p>
  
  <p>[1] <a href="https://docs.microsoft.com/en-us/visualstudio/data-tools/create-a-sql-database-by-using-a-designer?view=vs-2019" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/visualstudio/data-tools/create-a-sql-database-by-using-a-designer?view=vs-2019</a></p>
  
  <p>[2] <a href="https://imgur.com/a/ias3Bcv" rel="nofollow noreferrer">https://imgur.com/a/ias3Bcv</a></p>