title: ASP.NET Web Form is not displaying data in GridView
body: <p>I'm having some trouble here.</p>
  
  <p>I got a DataTable from my database and I want to use it to be the datasource of my GridView.</p>
  
  <p>The problem: when I set the datasource of this GridView with my DataTable, nothing happens. But if I set the datasource of another component (like ListItem), the data is shown.</p>
  
  <p>What do I do with it?
  Follow the code below:</p>
  
  <pre><code>&lt;!-- Here I have a ListView. When I set the datasource, the data is showed. --&gt;
  &lt;asp:ListView ID="listviewCustomers" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;asp:Label runat="server" ID="myLabel" text="&lt;%# bind('Name') %&gt;" /&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:ListView&gt;
  
  
  &lt;!-- Here I have a GridView. When I set the datasource, nothing happens. --&gt;
  &lt;asp:GridView runat="server" ID="gridviewPassageiros"&gt;
      &lt;Columns&gt;
          &lt;asp:TemplateField&gt;
              &lt;ItemTemplate&gt;
              &lt;asp:Label runat="server" ID="myLabel" text="&lt;%# bind('Name') %&gt;" /&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
      &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>