title: Adding Class instance as a new Row in DataGridView (c#)
body: <p><BR>
  I have a class say</p>
  
  <pre><code>[Serializable]
      public class Answer
      {
          [DisplayName("ID")]
          public string ID { get; set; }
          [DisplayName("Value")]
          public string Value { get; set; }
      }
  </code></pre>
  
  <p>and I have a datagridview with bounded columns to the  above class. </p>
  
  <p>instances of this class Answer are created dynamically as and when required.
  How do I update datagridview when each and every instance of class is created.</p>
  
  <p>is it possible to do something of this sort.<BR></p>
  
  <pre><code>dataGridView.Rows.Add(classInstance);
  </code></pre>
  
  <p>Thanks in Advance,<BR>
  Amit</p>