title: Adding Temporary Data to List and bind it to a DataGridView Winform
body: <p>I want to put temporary datas into a generic list and bind it to the datagridview.<br>
  However, I can only put 1 row in the datagridview, I want to input multiple rows just like a database. </p>
  
  <p>Here's what I've tried, please tell me how to fix it. thanks :))</p>
  
  <pre><code>MyClass
  {
     private List&lt;object&gt; _list = new List&lt;object&gt;();;
  
     public MyClass()
     {
     }
  
     protected void OnClickButton(object sender, args e)
     {
       _list.Add(new { Name = textBoxName.Text, Gender = genderComboBox.Text });
       dataGridView1.DataSource = _list;
     }
  }
  </code></pre>
  
  <p>Thank you very much! I'm really STUCK-overflow with this problem.</p>