title: Binding objects DataGridView C#
body: <p>i have a DataGridView and a list of objects that i would like to show.</p>
  
  <p>The Objects are these:</p>
  
  <pre><code>public class Entity
  {
      public int ID { get; set; }
  }    
  
  public class Travel: Entity
  {
      public Service Service { get; set; }
      public City Source { get; set; }
      public City Destiny { get; set; }
      public decimal Price { get; set; }
  }
  
  public class Service: Entity
  {
      public string Name { get; set; }
  }
  
  public class City: Entity
  {
      public string Name { get; set; } // Max 50 chars
  }
  </code></pre>
  
  <p>In my form i bind the list of of Travel Objects like this:</p>
  
  <pre><code>List&lt;Travel&gt; travels = logic.GetAllTravels();
  DgvRecorridos.DataSource = travels;
  </code></pre>
  
  <p>And i get the following:</p>
  
  <p><img src="https://i.stack.imgur.com/1Cnvz.jpg" alt="enter image description here"></p>
  
  <p>I would like to get the Name of the Service, Source City and Destiny City instead.</p>
  
  <p>Thanks in advance.</p>