title: What is difference between Parent and NamingContainer in a Gridview
body: <p>What is difference between these two statements? In particular, I'm interested in which one is more optimized.</p>
  
  <pre><code>GridViewRow currentItem = (GridViewRow)drp_Vendor.Parent;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>GridViewRow currentItem = (GridViewRow)drp_Vendor.NamingContainer;
  </code></pre>