title: how to make heading title into the center in asp:GridView
body: <p>Does anyone know how can I center a title to the center in asp:GridView? </p>
  
  <p>Example:</p>
  
  <p><img src="https://i.stack.imgur.com/5gi9F.png" alt="enter image description here"></p>
  
  <p>and my code as below:</p>
  
  <pre><code>&lt;table border="0" width="500"&gt;
  &lt;tr&gt;
      &lt;td width="450px" align="center"&gt;
              &lt;asp:GridView ID="grid" runat="server" AutoGenerateColumns="False"
                DataSourceID="dsTest" DataKeyNames="id"
                CellPadding="6" GridLines="None" AllowPaging="True" PageSize="20" AllowSorting="True" Width="450px"&gt;
                &lt;Columns&gt;
                  &lt;asp:TemplateField HeaderText="   Address" SortExpression="suburb, street"&gt;
                    &lt;ItemTemplate&gt;
                          &lt;a style='cursor:pointer'  href='#'&gt;
                       &lt;%# Eval("unit_number") %&gt; &lt;%# Eval("level_number") %&gt; &lt;%# Eval("street_number") %&gt; &lt;%# Eval("street") %&gt;
                       &lt;%# Eval("suburb") %&gt; &lt;%# Eval("postcode") %&gt;&lt;/a&gt;
                    &lt;/ItemTemplate&gt;
                  &lt;/asp:TemplateField&gt;
                &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Does anyone know how can I make the 'Address' to the center instead? I have tried to set a text-align:"center" in css for GridView, but it's doesn't seem working for me</p>
  
  <p>Also... if I like to more all display address to the left, does anyone know how can I do it? </p>