title: Gridview DataKeyNames subclass property
body: <p>I have a gridview bound to a list of objects like so <code>List&lt;myObject&gt;</code>.</p>
  
  <p>The object has property which is a child object - an <code>Address</code> object. </p>
  
  <p>I want to add the PostCode property of the Address object to the gridview's DataKeyNames property like so: <code>DataKeyNames="Id, Address.Postcode"</code>, but keep getting the error <strong>myObject does not contain a property with the name Address.Postcode</strong> (it does...)</p>
  
  <p>Any ideas?</p>
  
  <hr>
  
  <p>EDIT: To clarify, I cannot modify myObject so that it exposes the Postcode as a property like so: myObject.Postcode. The Postcode property needs to sit where it is in the Address object (myObject property).</p>