title: Databind() on gridview not working VB.net ASP.Net
body: <p>I have a datatable with verified 10 rows named dtable.  I attempt to bind it to my gridview and nothing shows up on my asp.net page. Why do these relatively simple few lines not populate my gridview?</p>
  
  <pre><code>    Dim con As SqlConnection = Nothing
      Dim dTable As DataTable
      Dim dataAdapter As SqlDataAdapter
      Dim sqlcmd As String
      .......
      dTable = New DataTable
      dataAdapter = New SqlDataAdapter(sqlcmd, con)
      dataAdapter.Fill(dTable)
  
      'DATATABLE at this point has 10 rows in it, I verified that at runtime
  
      gvUnitSystem.DataSource = dTable
      gvUnitSystem.DataBind()
  
  End Sub
  </code></pre>
  
  <p>What am I doing wrong?</p>