title: How to add a header row to a GridView table in VB.NET?
body: <pre class="lang-html prettyprint-override"><code>&lt;asp:GridView ID="MemberTable" runat="server" 
      AutoGenerateColumns="False" 
      CellPadding="4" DataKeyNames="ID" DataSourceID="AccessDataSource1" 
      EmptyDataText="There are no data records to display." ForeColor="#333333" 
      GridLines="None" HorizontalAlign="Center"&gt;
      &lt;AlternatingRowStyle BackColor="White" /&gt;
      &lt;Columns&gt;
          &lt;asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /&gt;
          &lt;asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" /&gt;
          &lt;asp:BoundField DataField="Forename" HeaderText="Forename" SortExpression="Forename" /&gt;
          &lt;asp:BoundField DataField="Surname" HeaderText="Surname" SortExpression="Surname" /&gt;
          &lt;asp:BoundField DataField="DOB" HeaderText="DOB" SortExpression="DOB" /&gt;
          &lt;asp:BoundField DataField="EmailAddress" HeaderText="EmailAddress" SortExpression="EmailAddress" /&gt;
          &lt;asp:BoundField DataField="Username" HeaderText="Username" SortExpression="Username" /&gt;
          &lt;asp:BoundField DataField="Password" HeaderText="Password" SortExpression="Password" /&gt;
          &lt;asp:BoundField DataField="UserType" HeaderText="UserType" SortExpression="UserType" /&gt;
      &lt;/Columns&gt;
      &lt;EditRowStyle BackColor="#7C6F57" /&gt;
      &lt;FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /&gt;
      &lt;HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /&gt;
      &lt;PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" /&gt;
      &lt;RowStyle BackColor="#E3EAEB" /&gt;
      &lt;SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" /&gt;
      &lt;SortedAscendingCellStyle BackColor="#F8FAFA" /&gt;
      &lt;SortedAscendingHeaderStyle BackColor="#246B61" /&gt;
      &lt;SortedDescendingCellStyle BackColor="#D4DFE1" /&gt;
      &lt;SortedDescendingHeaderStyle BackColor="#15524A" /&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/FAYjT.png" alt="Table"></p>
  
  <p>How can I add a single cell header row on the very top of this table? (preferably using only tags)</p>
  
  <p>Thanks for your help!</p>