title: Convert Custom Object To DataRowView C# WinForms
body: <p>I have a custom object as follows</p>
  
  <pre><code>public partial class _AccessionType
  {
      private string accessionIdField;
      private string docUrlField;
      /// &lt;remarks/&gt;
      public string AccessionId
      {
          get
          {
              return this.accessionIdField;
          }
          set
          {
              this.accessionIdField = value;
          }
      }
      public string DocUrl
      {
          get
          {
              return docUrlField;
          }
          set
          {
              docUrlField = value;
          }
      }
  }
  </code></pre>
  
  <p>The above object is used as DataSource for DataGridView.
  I want to convert the above object to DataRowView.</p>
  
  <p>How can I do it ??</p>