title: How to programatically select first row of DataGridView
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6265228/selecting-a-row-in-datagridview-programatically">Selecting a row in Datagridview Programatically?</a>  </p>
  </blockquote>
  
  
  
  <p>I am developing a new desktop application in C# using Windows Forms. In one of my form i put the <code>DataGridView Control</code> and i am populating this <code>dataGridViewControl</code> Dynamically using my custom functions.</p>
  
  <p>Now after populating the above control, is there any way to programatically select the first row of that <code>DataGridViewview</code>. Note: the Selection mode property of this DataGridView is set to "Full row Select"</p>