title: How to set row height of a datagridview based on its contents in vb.net
body: <p>I want to adjust <code>row</code> <code>height</code> to display entire  contents of a cell(column width is fixed). I have one column and many rows in my datagridview.</p>
  
  <p>I used following codes, but I couldn't get required row height</p>
  
  <pre><code>  Me.data.DefaultCellStyle.WrapMode = DataGridViewTriState.True  
    data.AutoResizeRows(DtaGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders)
  </code></pre>